Hello, I seem to have everything configured properly and it's producing a form with what appears to be correct information. When I click on the the button I get a very unhelpful message that reads, "Things don't appear to be working at the moment. Please try again, later. I'm not sure what you need from me, please ask and I'll make sure you get it. Link to payment page: https://cp.xyonet.com/billing/payments/pay.php?id= Paypal email: <[email protected]> Paypal URL: https://www.sandbox.paypal.com/cgi-bin/webscr Paypal IPN: https://cp.xyonet.com/billing/payments/paypal/ipn.php Anyone have any ideas?
Check the html source of the genereated payment page (the page with the paypal buttons) if any of the variables that get submitted to paypal are empty or look incorrect.
The only thing that I can see in all of this is that the value for name looks like it needs to be urlencoded. the email address was valid, I changed it to protect the innocent. <div id="paypal"> <b>Pay with paypal</b> <form method="post" name="paypal_form" action="https://www.paypal.com/cgi-bin/webscr"> <!-- Shopping cart content begin --><p></p> <input type="hidden" name="item_name_1" value="Payee: Xyonet powered by Maine Line Systems, Invoice no.:0036I, Invoice date: 2020-12-07"> <input type="hidden" name="amount_1" value="128.95"> <input type="hidden" name="quantity_1" value="1"> <!-- Shopping cart content end --><p></p> <input type="hidden" name="upload" value="1"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="custom" value="0036I"> <input type="hidden" name="currency_code" value="US"> <input type="hidden" name="tax" value="0.00"> <input type="hidden" name="notify_url" value="https://cp.xyonet.com/billing/payments/paypal/ipn.php"> <input type="hidden" name="return" value="https://cp.xyonet.com/billing/payments/success.php"> <input type="hidden" name="cancel_return" value="https://cp.xyonet.com/billing/payments/cancel.php"> <input type="image" src="/billing/lib/btn_paynowCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0"> </form> </div>
Just went to pay pal to try to trouble shoot the error. The sandbox gave me: https://www.sandbox.paypal.com/weba...AMOUNT_ERROR&mfid=1607653215406_f7b5fd3ef6d70 I changed the company name to Xyonet and dropped the rest of it. This looks like it's going for multi-item button instead of just a single item button. moreover, I can't find any information on the webscr api. It looks like it's been deprecated in favor of a REST API. A nealy incomprehensible API I might add.
Given what I can see from this page: https://www.paypal-community.com/t5...ing-extra-fields-to-checkout-page/td-p/714647 It looks like the form fields should be named "amount" not "amount_1", "item_name" not "item_name_1" etc. We're really sending them there to pay the entire bill or at least part of it.
The form field names are ok, so that's not the reason for your issue in my opinion as it works for years like this on my systems. But you can rename them as a test. The post variables don't have to be url encoded. I can't see any reason why your form fails at the moment.