- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everybody. I'm having some weird problem with the payment form on a customer's website. My code, which works beautifully on a different ecommerce, produces the following HTML:
<form action="https://securepayments.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess" method="POST" id="send-to-paypal">
<input type="hidden" name="address_override" value="false">
<input type="hidden" name="showShippingAddress" value="true">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="billing_first_name" value="Luca">
<input type="hidden" name="billing_country" value="IT">
<input type="hidden" name="EMAIL" value="--my email address here --">
<input type="hidden" name="return" value="https://www.bergogliolibri.it/libri-antichi/ordine-accettato-0228414.html?search=14884">
<input type="hidden" name="cancel_return" value="https://www.bergogliolibri.it/sarat/cart/checkout/paypalko.php?cartid=14884">
<input type="hidden" name="notify_url" value="https://www.bergogliolibri.it/sarat/cart/checkout/paypalok.php">
<input type="hidden" name="invoice" value="14884">
<input type="hidden" name="subtotal" value="30">
<input type="hidden" name="shipping" value="0.00">
<input type="hidden" name="cmd" value="_hosted-payment">
<input type="hidden" name="paymentaction" value="sale">
<input type="hidden" name="business" value="info_api2.bergogliolibri.it">
</form>
<script type="text/javascript">function fsubmit() { document.getElementById("send-to-paypal").submit();}</script>
This, to me, looks correct. But on execution I get an error dialog box saying
Error Processing Payment
This transaction can't be processed. Please pay with another card.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry to be a bother, but the customer tells me that they did enable PayPal Pro and have confirmation AND the submission still fails as you can see at the test URL https://bergogliolibri.it/peova.html
If you have any suggestion... thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, in this case check the value of the variable "business" in the PRO form you are using, it must be one of the following two:
"Secure Merchant ID (found on the profile page) or the email address associated with your PayPal account."
If you pass the email address it must be in the standard email format myname@mydomain.com and not like the API user format myname_api1.mydomain.com
This will allow the PRO form working on https://bergogliolibri.it/peova.html
- « Previous page
-
- 1
- 2
- Next page »
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Compliance violation. flag based on the account origin ? in Sandbox Environment
- onApproveOrderFailure error msg when trying to pay with a credit card in live env on android or ios in PayPal Payments Standard
- When you try to issue a PayPal billing key, a TRASACTION_REFUSED error occurs. in Sandbox Environment
- Redirecting customers to PayPal for payment in PayPal Payments Standard
- Suddenly receiving "Authorization failed due to insufficient permissions" intermittently in REST APIs