PayPal Standard Buttons

bobsager
Contributor
Contributor

I believe one (and possibly more) of my PayPal Standard buttons is not working. This is possibly because of the new interface update. However, the button was created back in October, 2016. 

 

Having said that, trying to figure out why this embedded payment button doesn't work and how to fix it. Can anyone help, please?

 

Here's the code:

 

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

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

<input type="hidden" name="hosted_button_id" value="4JJ6MRTTMN3KA">

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

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

Login to Me Too
4 REPLIES 4

sharpiemarker
Esteemed Advisor
Esteemed Advisor

You're missing the closing </form> tag?


Kudos & Solved are greatly appreciated. 🙂
Login to Me Too

bobsager
Contributor
Contributor

Thanks. That's a copy and paste error on my part. It does have the  </form> at the end. Any other thoughts?

Login to Me Too

sharpiemarker
Esteemed Advisor
Esteemed Advisor

I seem to vaguely recall reading somewhere about them getting rid of the post method, who knows. Just generate a whole new button with the PayPal button maker so it will export the right code.


Kudos & Solved are greatly appreciated. 🙂
Login to Me Too

bobsager
Contributor
Contributor

Will try that.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.