Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You added ILS as a secondary currency and configured it to use with "WooCommerce PayPal Payments" plugin. But when attempting to pay with PayPal, the payment processes in USD instead of ILS.

Solution:
Please use the latest version of the "WooCommerce PayPal Payments" plugin to fix the problem.

If this solution does not resolve your issue or seems outdated, please check for related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket at WPML support forum for further assistance.

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.

This topic contains 12 replies, has 2 voices.

Last updated by malkaS 6 days, 17 hours ago.

Assisted by: Waqas Bin Hasan.

Author Posts
October 10, 2024 at 6:26 pm #16276644

malkaS

Background of the issue:
I added ILS as a secondary currency and configured ILS for PayPal in the advanced settings.

Symptoms:
When I try to pay with PayPal, it processes the payment in USD instead of ILS.

Questions:
Why is PayPal processing payments in USD instead of ILS?
Is there a setting I missed for configuring PayPal to use ILS?

October 11, 2024 at 12:13 pm #16279596

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Before proceeding further, can you please try the following?

1) Take a full backup of your site and database before proceeding.
2) Deactivate all plugins except WPML.
3) Switch to a standard theme like 2024.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know and I'll try my best to help you further on the matter.

Regards.

P.S.: I'll be off for the weekend and 'll be able to attend on Monday.

October 12, 2024 at 9:37 am #16281887

malkaS

Disabled everything, switched to default theme. Same issue.

It's at staging site, so I can give you access...

October 14, 2024 at 6:14 am #16284040

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

October 17, 2024 at 7:08 am #16298337

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the access, I am working on this and 'll get back to you as soon as I find something or have a solution.

October 17, 2024 at 12:59 pm #16300289

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I am trying to check for the issue by adding my country and little changes to WCML currencies. I was able to see the ILS at checkout page, but when proceeding to PayPal payment, it goes to the live PayPal (popup).

Unfortunately, PayPal doesn't work in my country and I don't have an account. Although I can ask someone from my team to check this. But before asking, is it possible if you can setup the staging site with PayPal sandbox and provide me steps to reproduce the issue?

Please let me know and I'll continue further accordingly.

October 17, 2024 at 1:07 pm #16300320

malkaS

even if you get to paypal popup, you should see the amount there and it will be in USD

I'm not even sure how to configure sandox there. It's not my Paypal account...

October 18, 2024 at 8:32 am #16303252

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

I checked again and recorded my screen (hidden link) that how I was able to see ILS as a currency from my location. And then I tried the paypal payment.

But as you can see it is asking for an account (login or create).

Can you please record your screen to show how you are using this and what and at which step it the wrong currency is shown?

Additionally, I also found a reported issue with "WooCommerce PayPal Payments" plugin. Although it is not the same but may be related, because it is addressing a mix of currencies issue. Please see https://wpml.org/errata/woocommerce-paypal-payments-error-cannot_mix_currencies/ and try the workaround also.

It may also be related to an unsupported currency (https://wpml.org/errata/woocommerce-paypal-payments-currency-code-is-not-currently-supported/), however, I got different opinions on this:

PayPal supports the Israeli New Shekel (ILS). PayPal allows users to send and receive money in multiple currencies. Users can add, change, or close currencies in their Wallet.

and

PayPal does not allow currency conversion for Israeli accounts. However, currency conversion may be possible when sending a payment or making a withdrawal, depending on the transaction.

I'll request to check again in the above mentioned context and please provide a screen recording to understand the issue better.

I'll try my best to further investigate the issue and to check with my team.

Screenshot 2024-10-18 131650.jpg
October 18, 2024 at 10:42 pm #16306586

malkaS

at checkout click 'debit and credit card', and it will open an iframe with card info and price in $. It's much simpler than clicking 'paypal' and going through its popup

October 21, 2024 at 4:45 am #16309836

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

I tried as you mentioned and can see ILS shown as the currency. However, I can not complete the payment because it requires real credit card. That's why a sandbox or test environment is needed (see attached).

On the other hand, if you can record your screen and show how it is done further (beyond this point) and what exactly is happening ahead, I'll try my best to check with my team and escalate accordingly.

Screenshot 2024-10-21 094129.jpg
Screenshot 2024-10-21 093945.jpg
October 21, 2024 at 6:13 am #16310277

malkaS

Interesting. At staging, it works properly. But at production, it's not. I've enabled everything at staging and it's still working. A question is what's the difference?

October 21, 2024 at 7:46 am #16310503

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

Well I can't be sure about the difference, because I have no access to the live site. I'll request to compare plugins, themes, their versions, configs, server resources and etc.

If possible, after taking a full backup of site and database, put the live site in maintenance mode temporarily, and check with a minimal setup (i.e. WPML, ST, WC, WCML and the said PayPal payment plugin).

This way you can see if issue is really from WPML (on live) or something else is creating a conflict.

October 25, 2024 at 5:07 pm #16331831

malkaS

ha, there was an update to paypal plugin, and it seems they solved this issue...

malkaS confirmed that the issue was resolved on 2024-10-25 17:16:41.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.