Ryanair / localisation-service

4 stars 1 forks source link

Checkout from a Mexico IP causes foreignCurrencyCode issue #1

Closed brossetti1 closed 3 years ago

brossetti1 commented 3 years ago

Hey all,

just booked a flight from Mexico and ran into some troubles on the last part of checkout. steps to reprodue:

1) connected to Mexico IP 2) go to final cart checkout page 3) type in credit card number

after the credit card number is typed in - the currency-converter.payment-methods__currency-converter fails with an unresolved error:

ERROR TypeError: Cannot read properties of null (reading 'foreignCurrencyCode')

i replicated this on both chrome and firefox (where i have no plugins) - the url this is occuring on is https://www.ryanair.com/gb/en/payment - when this dropdown fails - you cannot finish the checkout process.

I resolved this error and was able to purchase my ticket only after I logged onto my VPN and specified a US ip address (makes sense that the US ip would resolve to USD) - just wanted to report this while it was fresh in my mind as you might have alot of customers that are not going through the resolution process when they are trying to book flights FROM Mexico.

Screen Shot 2021-10-09 at 5 06 34 PM
brossetti1 commented 3 years ago

old repo... whoops

alexpilotti commented 2 years ago

Same issue from a Romanian IP