Skip to content

Commit f40567e

Browse files
author
Mario Pando
committed
Merge branch 'master' of github.com:cryptomkt/woocommerce-plugin
2 parents 93d3ac2 + dd27daf commit f40567e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class-wc-gateway-criptomarket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ public function process_payment($order_id) {
509509
'error_url' => WC()->cart->get_checkout_url(),
510510
'success_url' => $success_return_url,
511511
'refund_email' => $order->get_billing_email(),
512-
'language' => ICL_LANGUAGE_CODE
512+
'language' => explode('_', get_locale())[0]
513513
);
514514

515515
$payload = $this->client->createPayOrder($payment);

0 commit comments

Comments
 (0)