Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+02:00)

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Itamar 2 years, 1 month ago.

Assisted by: Itamar.

Author Posts
November 2, 2023 at 10:44 am

aymanM-7

In multicurrency plugin I set Arabic Currency to be IRAQI Dinar, and set PayPal gateway to be USD and enter paypal data.
Still when checkout it sends quiry to paypal as IRAQI Dinar.

November 5, 2023 at 5:56 pm #14733735

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I'll continue to help with this issue.

Currently, I don't see the problem that it is not possible to pay with Iraqi Dinar. Please see the attached screenshot.

Have you solved this problem already?

If you need more help with this issue, please share your site's Debug information.

You can read about it here.

http://wpml.org/faq/provide-debug-information-faster-support/

Thanks,
Itamar.

2023-11-05_19-53-07.jpg
November 12, 2023 at 9:11 am #14783289

aymanM-7

Hi,
Still need help.
Please go to this product:
hidden link
Chose IRQ Dinar from currencty switcher then try to checkout with paypal
Its not working, Please also read the ticket chat history, it expalin everything
Thank you

CS.png
14715631-IQD_1.png
November 12, 2023 at 3:25 pm #14784265

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

This is not a WPML issue because Iraq and IRQ Dinar are not supported by PayPal. You can check it here on PayPal's website.

hidden link

You can check this by temporarily deactivating WPML and setting IRQ Dinar as the currency of your site. Then you will most probably get the same problem.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

Regards,
Itamar.

November 13, 2023 at 10:18 am #14787247

aymanM-7

Hi,
I know IQD iis not supported by paypal, here when Multi Currencty Plugin comes and convert the amount to its equivilant to USD.
When I do the same settings for AED (United Arab Emirates Dirham), it works,
It convert AED to its equivilant of USD and the plugin works
Somehow, the pluing fails to convert IQD to USD and pass it to PayPal
Please forward my inquriy to level 2 support to debug
Thank you

November 13, 2023 at 4:46 pm #14791083

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I'm sorry, but I must disagree with your conclusion. This problem does not happen because WPML fails to convert IQD to USD. PayPal does the conversion on the checkout page. Since PayPal does not support IQD, it is failing. And the opposite is right for AED.

To be sure of my conclusion, I went ahead and tested this scenario. I created two test sites on a fresh WordPress installation with only WooCommerce and the PayPal Payments add-on. WPML and its add-ons are not configured or installed on my test sites. One site I configured to be in Iraq and use the IQD currency. The second site I configured to be in the United Arab Emirates and have the AED currency. On the IQD site and checkout page, I get the same problem you get on your site, and I cannot proceed with checking out with PayPal. Whereas on the AED site, I don't get this problem. While testing this, I recorded a video for you so you can see my tests. Please watch the video here.

hidden link

You are welcome to test this yourself on my test sites, which you can access at the following links. (You would need to set up PayPal on those sites to test things yourself.)

Sandbox IQD: hidden link

Sandbox AED: hidden link

I hope that this explains this issue. Please let me know if you have any further questions.

Regards,
Itamar.

November 14, 2023 at 7:44 am #14794077

aymanM-7

My dear,
You are wrong.
In this official paypal link:hidden link
AED is not supported, yet my WooCommerce is working fine for AED because MultiCurrency Plugin convert it to USD first.
Please see attached image
And see the attached video:
hidden link

For AED which is not supported by Paypal, the MultiCurrency Plugin convert it first to USD then pass the amount to Paypal and it work like charm
But for IQD it fail to convert it to USD thats why the error comes
I am not happy with your support,
Please pass it to another agent
Thank you

IQD.png
IQD.png
Payment in USD.png
November 14, 2023 at 9:02 am #14795021

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for the video.

I'm sorry to hear you are unhappy with my support. I'm ready to escalate this issue to our second-tier supporters team. For this, we need to replicate the problem on a fresh WordPress installation. For this, I created a test website with a clean WordPress install. You can access it through this link:

hidden link

With this link, you'll be directly logged in.

On this test site, I've already configured WPML to have English as the default language and Arabic as the second language. The same as on your site. WooCommerce and WooCommerce Multilingual & Multicurrency are installed on the test site. Please activate them and configure them the same as on your site (just the basic configurations needed to replicate the issue are enough). When everything is finished and you can replicate the problem, please let me know, and I'll escalate this issue to our second-tier supporters.
Please do not import your site onto the test site. It is important to replicate the issue on a fresh and clean WordPress installation.
Thanks,
Itamar.

November 14, 2023 at 9:23 am #14795417

aymanM-7

Hi,
No need to create a temp site.
You can directly debug on our website.
Its staging and there is backup.
Thank you

November 16, 2023 at 9:53 am #14823947

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

This issue is now escalated to our second-tier supporters. I'll update here once I have their reply.

Thank you for your patience.
Itamar.

November 16, 2023 at 10:28 pm #14830963

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Our second-tier supporter has found that this issue is related to a known issue we have with the WooCommerce Paypal payments plugin. You can see the errata page about this issue here.

https://wpml.org/errata/woocommerce-paypal-payments-currency-code-is-not-currently-supported/

We can suggest the following workaround.

1. Deactivate the WooCommerce Paypal payments plugin.

2. Instead of the WooCommerce Paypal payments plugin, activate the legacy PayPal payment option as follows.

3. Insreat the following line of code in the functions.php file of your theme and save the change.

add_filter( 'woocommerce_should_load_paypal_standard', '__return_true' );

4. Go to WooCommerce -> Settings -> Payments, configure and activate the PayPal option.

5. Ensure that in WooCommerce -> WooCommerce Multilingual & Multicurrency -> Multicurrency, the settings for the IQD and AED are correct and set to use USD for PayPal.

Now, it should work, and your website users will be able to check out if they select IQD and PayPal. I checked it on the test site, and it works. You can see it here.

hidden link

Also, please see the attached screenshot standard-paypal-ok.png.

The issue has been escalated to our developers. When the version with the fix will be released, I'll update you here.

Regards,
Itamar.

standard-paypal-ok.png