Reputation: 1
i'm trying to use Website Payments Pro Hosted Solution.
I read https://www.paypalobjects.com/webstatic/en_GB/developer/docs/pdf/hostedsolution_uk.pdf and try with this sample form found at page 64:
<form
action="https://securepayments.sandbox.paypal.com/webapps/HostedSoleSolu
tionApp/webflow/sparta/hostedSoleSolutionProcess" method="post">
<input type="hidden" name="cmd" value="_hosted-payment">
<input type="hidden" name="subtotal" value="50">
<input type="hidden" name="business" value="HNZ3QZMCPBAAA">
<input type="hidden" name="paymentaction" value="sale">
<input type="hidden" name="return"
value="https://yourwebsite.com/receipt_page.html">
<input type="submit" name="METHOD" value="Pay Now">
</form>
but I obtain this error:
"Errore nell'elaborazione del pagamento
Messaggio di errore" Non è possibile elaborare questa transazione. Paga con un'altra carta."
I tried also with my sandbox business pro id, instead of the one of the sample, but I obtained always the same error!!!
Please, could you help me to understand what is wrong?
Chiara
Upvotes: 0
Views: 638
Reputation: 1613
I had the same problem today and found that the sandbox business account must have the same country that is passed by the form.
Upvotes: 1