Why my new created add to cart button link don't work after some while???

Sarwar6283
New Community Member

Here is add to cart button html,

<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="EV4W2EYK5KR9N">
<table>
<tr><td><input type="hidden" name="on0" value="2 Weeks Membership">2 Weeks Membership</td></tr><tr><td><select name="os0">
<option value="2 Weeks Membership">2 Weeks Membership $33.00 USD</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.com/en_GB/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_GB/i/scr/pixel.gif" width="1" height="1">
</form>

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @Sarwar6283,

 

Thank you for posting to the PayPal community.

 

I have run the attached button code in my local environment and could able to process payment without any issues.

 

Screenshot 2023-01-06 at 5.41.23 PM.png

 

I would suggest to please try processing a test payment via card which is not linked to your PayPal account. 

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

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.