Hosted payment issue on site

misterakko
Contributor
Contributor

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

Error Message

This transaction can't be processed. Please pay with another card.

 
I really do not know what to do...

 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Ciaran
Moderator
Moderator

Yea, so this is different to the issue I thought you where experiencing 🙂

 

So your issue is that Hosted Pro is not enabled on the business account you are setting in the redirect. You need to call business support to get setup. You can get them at paypal.com/contactus

 

 

View solution in original post

Login to Me Too
11 REPLIES 11

MTS_Ciaran
Moderator
Moderator

hmmm, can you post a screenshot of the error and PM me over the account email address please. 

Login to Me Too

misterakko
Contributor
Contributor

Screenshot

Thanks! Here's the image. I'll PM you as soon as I discover how to 🙂 give me five minutes.

Login to Me Too

SerenaB
Contributor
Contributor
Still me, from the customer's account this time. I can't find a way to PM you, though (the Private Messages page I reach from your profile page is blank). I hope this can suffice.
Login to Me Too

MTS_Ciaran
Moderator
Moderator

Checking now. Will update ASAP. 

Login to Me Too

MTS_Ciaran
Moderator
Moderator

OK, can you send me over a couple of more pieces so I can try get the logs from the servers on our side, when the error occurs can you view the HTML source from the error page and search for the "calc" and the "rlogid" values and send them over. 

Login to Me Too

misterakko
Contributor
Contributor

Sure! Here you are.

 

Script info: script: sparta, template: , date: Jul 1, 2017 02:31:53 PDT, country: US, language: en
web version: 211.0-34975333
content version: major version: 1 minor version: 0

hostname : SXhcvxNDGBpUw5Ff5Bla7XHNUeQDF59h03jWHz%2BJYfaqJTz7kBo4mQY9OfPbmxMVB8a1epAzhGs
rlogid : mY6cMfrnhcAi2wnSCvJ1%2BAS1m%2B5HrvVzZa6nsu9ot8SVBz1xUo%2BJgJ13TIVWt1ySsIxJWtJlV74vRCcocICxzw7vTkIj5wHaix%2B73Sufr5s_15cfd7e03da

calc: 5b2bbeba272b9

md5h: 6c8f09ff4b1e3bef3a9b4eb7ecf724f7
shfp: %7C%7C
usce: +
pgtf: Sparta
s: ci

 

Login to Me Too

MTS_Ciaran
Moderator
Moderator

Thanks man, This should be resolved now. Can you check and let me know. 

Login to Me Too

misterakko
Contributor
Contributor

Ah, sorry, no, it's still stuck.

hostname : r3Y8NEU1LhLka5ReOTp14ZSzIao%2FDvYE1YH55pf3UHZJlX62eIM7kAuafuDvczSTQiqE3WmZ9EZcU8P6SEFD4Q
rlogid : PyPO8BQuDYgvprN%2Bk%2BZ9lSYEfrP%2B04Dznf1wqlp0XDiHlI8TTEUUL0cg908hR%2BtZzPmyz1vZYFdF9P3InVrfskthQJUsweQ9mUA%2BPSS2I%2Bbo4eHm12alzQ_15d0ca90bde

calc:424702367b6b1

 

Or you can try yourself by visiting:

https://www.bergogliolibri.it/peova.html

Login to Me Too
Solved

MTS_Ciaran
Moderator
Moderator

Yea, so this is different to the issue I thought you where experiencing 🙂

 

So your issue is that Hosted Pro is not enabled on the business account you are setting in the redirect. You need to call business support to get setup. You can get them at paypal.com/contactus

 

 

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.