Skip Navigation

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

Problem:
The client is using Stripe to accept payments and has their store set up in USD. They need to use EUR to activate payment methods like Klarna. Although customers can switch to EUR, the client cannot accept payments using EUR with Stripe and Klarna because Klarna requires the store to be listed in EUR.
Solution:
We recommend setting the default currency of the store to EUR and the secondary currency to USD. This adjustment is necessary because Klarna requires EUR as the default currency to function properly. If you're experiencing this issue, we suggest making this change to enable Klarna payments through Stripe.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If further assistance is needed, we highly recommend opening a new support ticket with us here.

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 6 replies, has 3 voices.

Last updated by Bobby 7 months, 2 weeks ago.

Assisted by: Bobby.

Author Posts
August 14, 2024 at 2:16 am #16068491

greloZ

Background of the issue:
I currently use Stripe to accept payments. My store is set up in USD, but I need to use EUR to activate payment methods like Klarna. I now have multiple currencies set up with WPML, and customers can switch to EUR.

Symptoms:
I can't accept payments using EUR even though customers can switch to EUR.

Questions:
Why can't I still accept payments using EUR with Stripe and Klarna?

August 14, 2024 at 2:19 am #16068509

greloZ

Correction: My problem is that when using Stripe, if the store is listed in USD, Klarna does not show up because it requires the store to be listed in EUR.

August 15, 2024 at 2:26 pm #16074830

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thanks for contacting WPML Support.

Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.

If you're using Stripe and accepting payments via credit/debit cards only, users can pay in their selected currency without any issues. However, since you want to use the Klarna gateway, you'll need to set the default currency for your store to EUR and the secondary currency to USD. Setting EUR as the default currency is a requirement for Klarna, so you'll need to make this adjustment to enable customers to pay through their gateway.

I hope you can understand. Feel free to let us know if you need further assistance or clarification. We will be happy to help.

Best regards,
Prosenjit

August 15, 2024 at 3:08 pm #16075162

greloZ

Thanks for the reply, I understand

I have a new question now

Language switching can be placed in the navigation

So can currency switching be placed in the navigation?

August 15, 2024 at 8:14 pm #16076138

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Glad that you were to resolve the original issue you had.

Please navigate to this documentation and review the section Currency Switcher Widget to see how to place the widget in custom locations.

https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#currency-switcher-as-php-code

There are ways to add it using a shortcode or directly into PHP.

August 16, 2024 at 6:53 am #16076987

greloZ

Unfortunately, I can’t place the currency switcher in the mobile menu via the shortcode, Another question is, I put a currency switcher in the footer using the shortcode, but the top and bottom margins are too big, please help me check

WX20240816-145213@2x.png
mobile.png
August 16, 2024 at 6:17 pm #16078997

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

For the mobile menu placement, I would recommend contacting your theme's support and asking them for help on where it is best to place it in the PHP code using the PHP snippet.

The theme's global CSS spacing controls the spacing in the footer.

Again, I would recommend contacting theme support regarding this but here is a quick CSS you can use to overwrite it.

.wcml-dropdown {
    width: 100%;
    margin-top: -20px;
}
Screen Shot 2024-08-16 at 11.16.45 AM.png
Screen Shot 2024-08-16 at 11.13.53 AM.png