#raphael-madillo_docs

1 messages Β· Page 1 of 1 (latest)

queen canyonBOT
#

πŸ‘‹ Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

πŸ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1415962344009498667

πŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

prime nest
#

hello! For Klarna (and other Buy Now Pay Later (BNPL) payment methods), when using Automatic Payment Methods, it looks at the customer IP address before deciding whether to display it as a payment method option. Are you testing this in the same country as where your Stripe account is? i.e. if your Stripe account is in FR, are you also testing from a FR IP?

fair tusk
#

Thanks for the super fast reply! πŸ™
Yes I'm in France and I think our account is setup in France.
Also if it can help, we are correctly seeing stripe payment method (including Klarna) on our web (in react).

prime nest
#

hmmm, interesting, can you share the corresponding PaymentIntent where you expected to see Klarna but did not?

#

The PaymentIntent id will have the prefix pi_

fair tusk
#

Here you go: pi_3S6RehDNG0pJ0gVE2yAuE7PN

#

(It's in test mode)

prime nest
#

and it doesn't display in both iOS and Android? or only iOS?

fair tusk
#

Let me 10min, I would have to generate a build for Android with latest stripe version πŸ‘

prime nest
#

i think you may not have to do that, knowing you're testing on iOS, i can kinda throw out a hypothesis first

fair tusk
#

Yes this is my implementation in frontend
const { error: initError } = await initPaymentSheet({
merchantDisplayName: 'Kolet SAS',
paymentIntentClientSecret,
applePay: {
merchantCountryCode: 'FR',
},
googlePay: {
merchantCountryCode: 'FR',
testEnv: false,
},
style: 'automatic',
customerId,
customerEphemeralKeySecret,
returnURL: 'kolet-app://main/home',
});

#

And payment methods like ideal, revolut pay etc are correctly working

#

(I'll let you know once I have the build on Android!)

prime nest
#

hmmm, you don't seem to have allowsDelayedPaymentMethods: true?

fair tusk
#

I tried with it but it didn't change anything, let me retry !

prime nest
#

ah yeah, you're right, my bad, it's not an asynchronous payment method

fair tusk
#

Ah Android builds might take longer to come I have compatibility errors btw latest stripe and my current deployment

queen canyonBOT
blissful fulcrum
#

hi! I'm taking over this thread.

fair tusk
#

Thanks @blissful fulcrum πŸ™

#

Looks like I'm not seeing Klarna neither on Android :/

blissful fulcrum
#

are you using some kind of VPN that could be changing your country to outside of France?

fair tusk
#

Hmm not really, I just use ngrok to reach out to my local API from my real device but that's all

blissful fulcrum
#

can you try removing the returnURL: 'kolet-app://main/home', and see if that changes anything?

#

if that doesn't work, there may be something on Stripe's end that's blocking Klarna on your account. in this case, I can you open a support case with our team so we can have more time to investigate this?

queen canyonBOT
#

Hello @fair tusk, we have sent you a direct message, please check it at https://discord.com/channels/@me/1415978869026193479

  • πŸ”—The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
fair tusk
#

No it didn't change anything on Klarna side, just removed ideal, revolut pay etc.

#

Sure let me do that then !

blissful fulcrum
#

got it. then yes can you use the link we sent you in DM to create a syooirt case?

#

perfect, thanks!