Fixed Function in klarnapay.php#421
Conversation
|
@DAnn2012 what’s the purpose of this PR? I don’t see that it addresses any specific issue or provides a clear improvement |
|
Hi @vildanbina , I just submitted a PR that includes a small but important change to the way the error message is rendered for unsupported payment methods by country. Previously, the code used: esc_html_e('Payment method is not supported for country ', 'wc-buckaroo-bpe-gateway') . '(' . esc_html_e($country) . ')';This line attempts to concatenate two calls to I've updated it to: echo esc_html__('Payment method is not supported for country ', 'wc-buckaroo-bpe-gateway') . '(' . esc_html($country) . ')';This version correctly uses Let me know if you have any questions or suggestions! Best regards. |
|
@DAnn2012 great! Thanks for clarifying that |
Fixed Function in klarnapay.php