melprok Posted November 7, 2011 Report Posted November 7, 2011 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now