• Hello.

    We have a currency switching plugin (Price Based on Country for WooCommerce). We have it set up so that the currency is based on customers shipping address. We are facing an issue with Apple Pay express checkout where if we switch shipping/delivery address to different country than the country which was used when checkout page was rendered, the currency will not switch. We have also found no way of changing the currency once the Apple Pay popup is active. We have looked into javascript that is detecting the currency as well as server responses when the address is changed and we have not found a way to switch the currency except refreshing whole checkout.

    We have managed to integrate multicurrency with Google Pay but had no luck with Apple Pay. Is it possible with your plugin to somehow change the currency depending on the delivery address and if so (even if it means adding a change to the plugin core from our side) could you point us to right direction?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @morvy

    We are facing an issue with Apple Pay express checkout where if we switch shipping/delivery address to different country than the country which was used when checkout page was rendered, the currency will not switch.

    Are you referring to changing the shipping address within the Apple Pay wallet? If you are, then the reason the currency doesn’t update is because Stripe doesn’t support that. The currency is defined when the request is first made, and can’t be changed once the Apple Pay wallet is opened.

    https://docs.stripe.com/js/payment_request/create

    When the currency is changed on the checkout page, your currency plugin should be refreshing at least part of the checkout page by triggering the update_checkout event that’s used by WooCommerce. That event tells WooCommerce to refresh the order and payment method section of your checkout page, ensuring accurate data is added.

    Can you share a link to you site so it can be reviewed?

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘Apple Pay – multicurrency’ is closed to new replies.