Skip to content Skip to sidebar

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

Problem:
After updating to version 5.5.3, you are encountering a fatal error on the payment page when making a payment in a language different from the original. The error is related to the 'woo-stripe-payment' plugin where it fails to get the currency from an order object, which turns out to be false.
Solution:
If the issue persists, try disabling and re-enabling your theme, as this approach resolved the issue. Additionally, ensure that your theme and all plugins are updated to their latest versions.

If this solution does not apply to your case, or if it seems outdated, please check the related known issues at https://wpml.org/known-issues/ and verify the version of the permanent fix. If necessary, do not hesitate to open a new support ticket for personalized 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 2 replies, has 0 voices.

Last updated by thibaultG 6 days, 13 hours ago.

Assisted by: Shekhar Bhandari.

Author Posts
December 2, 2025 at 6:01 am #17624363

thibaultG

Hi,

Since updated to 5.5.3 I'm getting a fatal error on payment page when paying in a different language than original:

2025/11/25 17:25:49 [error] 10208#10208: *564926 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_currency() on false in /public/wp-content/plugins/woo-stripe-payment/includes/abstract/abstract-wc-payment-gateway-stripe-local-payment.php:303

I contacted "woo-stripe"payment" plugin developer and he replied:

Here is that code for your reference:

if ( isset( $wp->query_vars['order-pay'] ) ) {
$order = wc_get_order( absint( $wp->query_vars['order-pay'] ) );
$currency = $order->get_currency();
$billing_country = $order->get_billing_country();
$total = $order->get_total();
}

==> It appears WPML is using an incorrect query parameter since order-pay is reserved by WooCommerce and should always be the order ID.

PS: please note there is no screenshot it's a white page, I belive you don't need to see a white page. Thank you

December 2, 2025 at 7:09 am #17624510

thibaultG

Hi,
I'm not able to reproduce the issuer on a fresh site however on my staging site the issue is still present even though I disabled all plugins.
I can give you access, please enable credentials post. Thank you,

December 2, 2025 at 7:15 am #17624528

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Sure, To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

December 2, 2025 at 7:35 am #17624607

thibaultG

I fixed the issue by disabling and renabling Astra theme. Thank you