Skip Navigation

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

Problem:
The client was unable to add a service to the cart on their .nz domain due to a message indicating that no payment methods were available. This issue was suspected to be related to a conflict with the language setting in WooCommerce, potentially indicating a plugin or theme conflict. A similar problem was reported on another website with multiple domains, where cart payment options were missing on pages for certain countries.

Solution:
We recommended checking the database for the value of the option

wcml_payment_gateway_stripe

to ensure the correct keys were in place. The correct secret key format for Live mode should be

sk_live_xxx

, not the Webhook key format

whsec_xxx

. We updated the secret key in the option

wcml_payment_gateway_stripe

for the client, which resolved the issue on their .nz site.

For other sites experiencing similar issues, we advised the following steps:
1. Navigate to WooCommerce > Settings > Payments.
2. Edit the Stripe payment option.
3. Go to the Settings tab and click on "Edit account keys" to retrieve the publishable and secret keys.
4. Go to WooCommerce > WooCommerce Multilingual > Multicurrency tab.
5. Edit the second currencies and update the keys accordingly.

Relevant documentation:

If this solution doesn't seem relevant to your situation, please open a new support ticket with us.

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 4 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 5 months ago.

Assisted by: Long Nguyen.

Author Posts
November 22, 2023 at 7:36 am #14893119

taivoJ

Hello,

1) I own the domains liveinmuine.com and liveinmuine.nz. However, when I attempt to add a service to the cart on Liveinmuine.nz, at checkout, I receive the following message: Sorry, it seems that there are no available payment methods. Please contact us if you require assistance or wish to make alternate arrangements.

Everything working on liveinmuine.com

I’ve also reached out to Stripe via WooCommerce for assistance on this matter: We appreciate your detailed information about the issue. Based on the information you’ve provided, your situation could likely be a result of a conflict with the language setting in WooCommerce, and it may indicate a plugin or theme conflict.

JupiterX Theme support said: There should be an issue with stripe or WooCommerce fields tructure.

2) I’m experiencing a similar problem on another website with 13 domains, Softwarehouse.ie. Like the previous site, this one also lacks cart payment options on its Vietnamese, Philippines, New Zealand, UK and Czech pages. Other pages working well.

Screenshot 2023-11-05 064511.png
November 23, 2023 at 4:54 am #14903533

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Taivo,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

If you are using multicurrency, please access the database > Go to the table wp_options > Look for the option "wcml_payment_gateway_stripe" and share its value with me. I will help you to check this.

Refer to this ticket https://wpml.org/forums/topic/stripe-payment-method-wont-show-for-usa/
and documentation https://wpml.org/errata/woocommerce-multilingual-standalone-version-stripe-payment-gatewat-not-available-in-the-second-currency/

Look forward to your reply.
Thanks

November 23, 2023 at 8:41 am #14904855

taivoJ

Hello Long,

no changes.

Screenshot 2023-11-23 153837.png
November 23, 2023 at 9:18 am #14905321

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Let me know which domain/currency is working now. Then I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

November 24, 2023 at 2:02 am #14912949

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

The key "whsec_xxx" is the Webhook key format. The secret key format in Live mode should be "sk_live_xxx". I fixed that issue on your site by updating the secret key in the option wcml_payment_gateway_stripe. Now you can see the payment gateway works in the second language as well, please check the screenshot attached.

On other sites, you can go to WooCommerce > Settings > Payments > Edit the payment Stripe > Settings tab > Click on "Edit account keys" to get the publish and secret keys.
Then go to WooCommerce > WooCommerce Multilingual > Multicurrency tab > Edit the second currencies and update the keys there.

Look forward to your reply.
Thanks

Checkout - SoftwareStore.ph 2023-11-24 08-54-20.png
November 24, 2023 at 3:36 am #14913135

taivoJ

Hello Long Nguyen,

I wanted to extend my heartfelt gratitude for your assistance. It's quite peculiar, but I encountered some difficulties while trying to make changes through WooCommerce > WooCommerce Multilingual > Multicurrency tab. However, I managed to resolve the issue by making adjustments via wcml_payment_gateway_stripe, and now liveinmuine.nz is functioning perfectly.

Your support has been invaluable, and I truly appreciate it.

Warm regards!