undefined is not an object (evaluating ‘this.get_currency().toLowerCase’)
-
Hello,
I have an issue on the checkout page of my webshop. When switching to the English version (original is in Spanish), the following error occurs: undefined is not an object (evaluating ‘this.get_currency().toLowerCase’) . This only happens when Apple Pay is enabled (Stripe Gateway plugin for Woocommerce).
According to the support team of that plugin, something is going wrong during the update_checkout, returning an invalid JSON format when English is selected:
“{“items”:[{“label”:”Bolsita Jabu00f3n “Yute””,”pending”:false,”amount”:455},{“label”:”Shipping”,”pending”:false,”amount”:0}],”shipping_options”:[],”total”:”4.55″,”total_cents”:455,”currency”:”EUR”,”needs_shipping”:true}”This should be the correct JSON string when English is not selected:
“{“items”:[{“label”:”Bolsita Jabón \”Yute\””,”pending”:false,”amount”:455},{“label”:”Shipping”,”pending”:false,”amount”:0}],”shipping_options”:[],”total”:”4.55″,”total_cents”:455,”currency”:”EUR”,”needs_shipping”:true}”I am just copying and pasting here because I have no idea what this all means. I am no tech guy whatsoever ??.
I have tried it with several products, and the result is always the same, when in English and Apple Pay enabled, the error occurs.
I have currently disabled Apple Pay so our shop can function normally.Any thoughts?
Thanks in advance
Tom Van BiesenThe page I need help with: [log in to see the link]
- The topic ‘undefined is not an object (evaluating ‘this.get_currency().toLowerCase’)’ is closed to new replies.