A little error in code
-
Hello guys,
i just want to report a small error in plugin code.
I’m from Slovakia and therefore in Stripe checkout (option where you get redirected after “order” button) i chosen Slovak language.
But in the code you have the “sl” which stand for Slovenia instead of “sk” for Slovak language. So, when i chose Slovak, i”m redirected to Slovenia’s language of checkout page.
So my recommendation is to edit in /includes/class-stripe-checkout.php:
1) line 131 =
'sl' => __('Slovak', 'payment-gateway-stripe-and-woocommerce-integration'),
to:
'sk' => __('Slovak', 'payment-gateway-stripe-and-woocommerce-integration'),
2) and add this for Slovenia =
'sl' => __('Slovenia', 'payment-gateway-stripe-and-woocommerce-integration'),Have a good day 😉
my english is bad i know 😉
The topic ‘A little error in code’ is closed to new replies.