Hi,
While you can offer other currencies with custom code, something like the attached gist, we don’t recommend or provide support. It will definitely disable the accuracy of your PMPro “reports”.
https://gist.github.com/greathmaster/e17e785fbd9453c82877fbd66f28a596
Another option would be to add a message on your checkout page or level page:
“You will be charged in your local currency. Currencies are converted at the gateway based on current rates.”
I hope this helps you to get started.
Kim W
Hi,
Thanks for your reply.
As the amount charged will change based on the location I don’t think the second option would work.
If we were to implement the first solution above where would I set prices based on location or currency i.e set the price amount in dollars different to price amount in euro as an example?
Thanks again.
@pinklime
As far as I’m aware, accepting multiple currencies on the checkout page is problematic at a minimum since most currency conversion is done at the gateway level (i.e., in PayPal, Stripe).
You can set a currency per level, which is a workaround, but may be beneficial in this case.
Here’s an example Gist of how to accomplish the currency per level: https://gist.github.com/strangerstudios/8806443
Regards,
Ronald Huereca
If I set currency per level will I also be able to set the geo location for each level? So membership level A shows up in USA whereas membership level B shows up in India?
Thanks in advance.
I’ve added this https://gist.github.com/strangerstudios/8806443 code to php file however when I come to add a new membership level I dont get option to choose anything other than INR in the Billing Details/Initial payment section. Shouldn’t Pound/dollar currency come up as the code is active now?
Thanks in advance.
The recipe you’re using will enforce the changed currency to a level during checkout, it won’t add in a field on the Level edit page for you to choose a currency.
For example, Level A has been set to GBP. The checkout value for this level will show in GBP during checkout.
You can update the code on lines 21 and 22 in the Gist above to specify which currency should be applied to each level.