Hello,
I deleted the euro currency and created a new one for RON (Romanian Leu). This is the setup:
I tried to place orders both on paypal standard and sandbox mode and get this error:
This is the paypal setup:
Paypal payment worked before with Euro, so its a currency problem but... any idea what is it?
Currency RON not working with PayPal.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Currency RON not working with PayPal.
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
Check if your PayPal can accept RON. Try to even check if PayPal does not support other format like "ROL"
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 04 Nov 2020, 16:39
Re: Currency RON not working with PayPal.
Hey, thanks for helping, ive enabled loggining but couldnt see anything helpful in System log, this was the message: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
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
https://developer.paypal.com/docs/api/r ... ncy-codes/
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Currency RON not working with PayPal.
Hi, did you try to enable the RON currency for your account? Isn't it listed there? (in options of accepted currencies)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 04 Nov 2020, 16:39
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Currency RON not working with PayPal.
Hi, it really seems like the RON currency is not supported.
https://developer.paypal.com/docs/api/r ... ncy-codes/
Jan
https://developer.paypal.com/docs/api/r ... ncy-codes/
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 04 Nov 2020, 16:39
Re: Currency RON not working with PayPal.
Do you know if there s any way i can bypass this issue?Jan wrote: ↑01 Jul 2021, 22:11 Hi, it really seems like the RON currency is not supported.
https://developer.paypal.com/docs/api/r ... ncy-codes/
Jan
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Currency RON not working with PayPal.
Hi, really no idea, this is maybe much more a question on PayPal support.
Jan
Jan
If you find Phoca extensions useful, please support the project