stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

Klarna UI doesn't show "France" in the country list

Open minuitagency opened this issue 3 years ago • 3 comments

Describe the bug The country "France" doesn't appear in the available countries list in the Klarna payment method type.

To Reproduce image

and backend code:

image

Smartphone (please complete the following information): iPhone 13 Pro Max with the locale set to French and stripe-react-native @0.18.1

Thanks,

Théo

minuitagency avatar Sep 06 '22 16:09 minuitagency

Hi @minuitagency ! Maybe you can add this parameter in your initPaymentSheet :

        defaultBillingDetails: {
          email: <your_contact_email>,
          address: {
            country: 'FR',
          },
        },

nicolasdevienne avatar Sep 08 '22 06:09 nicolasdevienne

Hi @nicolasdevienne,

Thanks for your help,

const {error} = await initPaymentSheet({ customerId: customer, customerEphemeralKeySecret: ephemeralKey, paymentIntentClientSecret: client_secret, returnURL: 'myreturnurl', allowsDelayedPaymentMethods: true, defaultBillingDetails: { email: '[email protected]', address: { country: 'FR', }, }, });

image

I still don't have access to France...

Théo

minuitagency avatar Sep 08 '22 08:09 minuitagency

this does look like a bug on iOS, looking into it!

charliecruzan-stripe avatar Sep 12 '22 20:09 charliecruzan-stripe

Fixed in the recent releases :)

charliecruzan-stripe avatar Dec 06 '22 23:12 charliecruzan-stripe