Multiple Currencies

  • Ezequiel Lidijover
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 3 weeks ago #132021 by Ezequiel Lidijover
Multiple Currencies was created by Ezequiel Lidijover
Hi, I can't find how to configure different types of currency. I need to enable a service for a payment in local currency and a service (similar) with payment by paypal
But I can only configure one currency ... I tried placing any one (editing the acronym in the SQL database) and then configuring the Paypal plugin as dollars ... but it generates an error in the paypal payment process because it raises the currency type from the global configuration instead of from the currency defined in the payment plugin
Any ideas to solve this?

(If I leave everything defined as USD, the values ​​of the service in local currency do not make sense) (the only thing I can think of is to leave it in USD and set it to not show price and do it only from the description of the service but I find it impractical)

Please Log in or Create an account to join the conversation.

  • Ezequiel Lidijover
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 3 weeks ago #132044 by Ezequiel Lidijover
Replied by Ezequiel Lidijover on topic Multiple Currencies
finally improvise the next solution
Edit the SQL base so that a currency I don't use is like "---"

I use the offline payment plugin with the instructions for payment in local currency (however the local payment gateway did not have integration with the system)

Edit the PHP of the PAYPAL payment plugin so that it does not look for the value of "currencie" but I defined it directly as USD with this code (it worked although the truth I have no idea of ​​php)

$ this-> setParam ('currency_code', USD);


If there is a simpler or "cleaner" solution please let me know

regards

Please Log in or Create an account to join the conversation.

More
5 years 3 weeks ago #132062 by Mr. Dam
Replied by Mr. Dam on topic Multiple Currencies
Hi Ezequiel,
Yes, currently, OS Services Booking fixes currency in Paypal is USD. So that, if you want to change different currency, you should change in source code of Paypal payment plugin
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam