Page 1 of 1

Currency RON not working with PayPal.

Posted: 28 Jun 2021, 15:20
by Drex
Hello,

I deleted the euro currency and created a new one for RON (Romanian Leu). This is the setup:
Image

I tried to place orders both on paypal standard and sandbox mode and get this error:
Image

This is the paypal setup:
Image
Image

Paypal payment worked before with Euro, so its a currency problem but... any idea what is it?

Re: Currency RON not working with PayPal.

Posted: 28 Jun 2021, 15:44
by Jan
Hi, enable logging in Phoca Cart and see the logs produced by Paypal, there should be some information about the problems. There will be even form displayed which is used by PayPal.

Check if your PayPal can accept RON. Try to even check if PayPal does not support other format like "ROL"

Jan

Re: Currency RON not working with PayPal.

Posted: 28 Jun 2021, 16:00
by Drex
Jan wrote: 28 Jun 2021, 15:44 Hi, enable logging in Phoca Cart and see the logs produced by Paypal, there should be some information about the problems. There will be even form displayed which is used by PayPal.

Check if your PayPal can accept RON. Try to even check if PayPal does not support other format like "ROL"

Jan
Hey, thanks for helping, ive enabled loggining but couldnt see anything helpful in System log, this was the message:

Code: Select all

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" name="phCartPayment" id="phCartPayment" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="upload" value="1" />
<input type="hidden" name="business" value="sb-aoonu6099709@business.example.com" />
<input type="hidden" name="item_name" value="Order: 20210000000042" />
<input type="hidden" name="item_name_1" value="GIFT CARD 200RON" />
<input type="hidden" name="item_number_1" value="" />
<input type="hidden" name="amount_1" value="200" />
<input type="hidden" name="quantity_1" value="1" />
<input type="hidden" name="weight_1" value="0.0000" />
<input type="hidden" name="currency_code" value="RON" />
<input type="hidden" name="first_name" value="y" />
<input type="hidden" name="last_name" value="y" />
<input type="hidden" name="address1" value="a" />
<input type="hidden" name="address2" value="" />
<input type="hidden" name="city" value="bucharest" />
<input type="hidden" name="zip" value="06017" />
<input type="hidden" name="country" value="Romania" />
<input type="hidden" name="email" value="alecsandroid@gmail.com" />
<input type="hidden" name="address_override" value="1" />
<input type="hidden" name="invoice" value="20210000000042" />
<input type="hidden" name="charset" value="UTF-8" />
<input type="hidden" name="rm" value="2" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="bn" value="PhocaCart_Cart_PPS" />
<input type="hidden" name="custom" value="42" />
<input type="hidden" name="return" value="http://devel2.alphabeta.ro/alex/urzeala/index.php?option=com_phocacart&view=response&task=response.paymentrecieve" />
<input type="hidden" name="notify_url" value="http://devel2.alphabeta.ro/alex/urzeala/index.php?option=com_phocacart&view=response&task=response.paymentnotify&type=paypal_standard&pid=2&tmpl=component" />
<input type="hidden" name="cancel_return" value="http://devel2.alphabeta.ro/alex/urzeala/index.php?option=com_phocacart&view=response&task=response.paymentcancel&type=paypal_standard&mid=1" />
<div class="ph-center">
<div>Your order has been successfully processed, thank you.</div>
<div>You are now being redirected to PayPal</div>
<div class="ph-loader"></div>
<div>If you are not redirected within a few seconds, please 
<input type="submit" class="btn btn-primary" value="Click here to be redirected to Paypal" class="button" />
</div>
</div>
</form>, User: Anonymous
But after some research looks like paypal doesnt accept payments in RON, at least i dont think so. I thought paypal just converts any payments to your wallet currency, but looks like its not the case, i guess i'll have to go with stripe or some other payment provider.
https://developer.paypal.com/docs/api/r ... ncy-codes/

Re: Currency RON not working with PayPal.

Posted: 29 Jun 2021, 15:02
by Jan
Hi, did you try to enable the RON currency for your account? Isn't it listed there? (in options of accepted currencies)

Jan

Re: Currency RON not working with PayPal.

Posted: 01 Jul 2021, 09:05
by Drex
Jan wrote: 29 Jun 2021, 15:02 Hi, did you try to enable the RON currency for your account? Isn't it listed there? (in options of accepted currencies)

Jan
Doesnt look like it is, only those in the link above appear.

Re: Currency RON not working with PayPal.

Posted: 01 Jul 2021, 22:11
by Jan
Hi, it really seems like the RON currency is not supported. :idea:

https://developer.paypal.com/docs/api/r ... ncy-codes/

Jan

Re: Currency RON not working with PayPal.

Posted: 04 Nov 2021, 12:11
by Drex
Jan wrote: 01 Jul 2021, 22:11 Hi, it really seems like the RON currency is not supported. :idea:

https://developer.paypal.com/docs/api/r ... ncy-codes/

Jan
Do you know if there s any way i can bypass this issue?

Re: Currency RON not working with PayPal.

Posted: 04 Nov 2021, 18:51
by Jan
Hi, really no idea, this is maybe much more a question on PayPal support. :idea:

Jan