Things don't appear to be working at the moment. Please try again later.
nimishdm
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Apr-12-2018
09:59 PM
I am using the following code for Buy button in my Angular App. The button code was generated from a Sandbox account. Clicking on it redirects to PayPal payment page and shows the error: "Things don't appear to be working at the moment. Please try again later."
<form ngNoForm action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="XXXXXXXX"> <table> <tr> <td> <input type="hidden" name="on0" value="Packages">Packages</td> </tr> <tr> <td> <select name="os0"> <option value="100 Million">100 Million $10.00 USD</option> <option value="500 Million">500 Million $50.00 USD</option> <option value="1 Billion">1 Billion $100.00 USD</option> </select> </td> </tr> </table> <input type="hidden" name="currency_code" value="USD"> <input type="image" src="https://www.sandbox.paypal.com/en_GB/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_GB/i/scr/pixel.gif" width="1" height="1"> </form>
1 REPLY 1
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr-17-2018
07:31 AM
Hello,
Please share the complete code if this issue is persisting, including the hosted button id.
Was my post helpful? If so, please give me a kudos!
Please share the complete code if this issue is persisting, including the hosted button id.
Was my post helpful? If so, please give me a kudos!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Disputes Webhook does not works on Sandbox (23/04/24) in Sandbox Environment
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- IPN works in sandbox but not live in Sandbox Environment
- link my PayPal business account with my WordPress website , but it's not work ?! in PayPal Payments Standard
- Problems with accent characters when calling Paypal API (v2/invoicing/invoices). in REST APIs