Jump to content

Issue with the PayPal generated Buy Now button today.


melprok

Recommended Posts

Hi,

 

I'm doing the php shopping cart tutorial.

 

I have a issue with the fom to send to paypal.

 

In the video you have this:

 

<form action='".PAYPAL_FORM_URL."' method='post'>

<input type='hidden' name='business' values='".PAYPAL_BUSINESS_VALUE."' />

<input type='hidden' name='cmd' values='_cart' />

<input type='hidden' name='upload' values='1 />

<input type='hidden' name='currency_code' values='USD' />

<input type='hidden' name='lc' values='US' />

".render_shopping_cart($shopping_cart)."

<input type='image'src='http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif' name='submit' alt='Make payments with PayPal - it's fast, free and secure!'>

</form>

 

 

 

But when I generate the code, paypal is generating the following:

 

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_s-xclick">

<input type="hidden" name="hosted_button_id" value="HS5DM4A8VZ274">

<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">

<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">

</form>

 

 

Then, when I press the Buy Now button, paypal tell me this:

"You have requested an outdated version of PayPal. This error often results from the use of bookmarks."

 

 

I think paypal has changed some things. Some idea of ​​the changes?

 

Thanks,

Jose :unsure:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...