Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currency not listed #2

Open
sweilems opened this issue Jun 1, 2019 · 1 comment
Open

Currency not listed #2

sweilems opened this issue Jun 1, 2019 · 1 comment

Comments

@sweilems
Copy link

sweilems commented Jun 1, 2019

hi, can anybody advice on how to add new currency to prosites? i want to add JOD for Jordanian Dinars , any help will be appreciated, thanks alot

@wpmudev-sls
Copy link

Hey @sweilems !

There is no filter for this so you will need to modify one of the core files. You will need to add
'JOD' => array( 'Jordanian Dinars' ), in the currency files that you have active.

If you have Stripe active, open file:
pro-sites/pro-sites-files/gateways/gateway-stripe-files/data/stripe-data.php
and add the above snippet on line 203, after :
'ZMW' => array( 'Zambian Kwacha', '4B' ),

I don't think PayPal supports this currency so no point adding it there. For manual payments open file:
pro-sites/pro-sites-files/gateways/gateway-manual.php
and paste it after :
'ZMW' => array( 'Zambian Kwacha', '4B' ),
around line 763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants