#mkurczewski

1 messages ยท Page 1 of 1 (latest)

blissful harnessBOT
hard tendon
#

Can you share the pi_xx of an example payment you're creating?

#

The likelihood is that the parameters on that payment exclude specific payment methods

tough wharf
#

Sure, pi_3NkUxUKcEfy0ogYO1kdBsgUP

hard tendon
#

When you pass automatic_payment_methods we compute the available PMs from your account according to the payment parmeters That's why Giropay is filtered out in this case

tough wharf
#

Right, thanks for explanation. However I have one more question... what about PayPal? It supports manual capture method, but it's also not showing. I enabled it in PaymentMethods (for my account), but can't see it on "Payment Methods > For your connected accounts" screen.

hard tendon
#

My guess is the RN SDK doesn't yet support PayPal. Let me confirm

#

Ok, maybe it does

#

but can't see it on "Payment Methods > For your connected accounts" screen.
Why are you looking there? That isn't relevant in this case โ€“ the example isn't a Connect charge

tough wharf
#

Yes, and on that page it's activated.

hard tendon
#

Can you try creating a new PI and explicitly pass payment_method_types: ['card', 'paypal'] and share the pi_xxx ID

tough wharf
#

Sure, however it's from postman, not the app itself, as that change would require some changes on backend side which are taking some time to deploy etc. pi_3NkmNxKcEfy0ogYO0f9NB4dB

hard tendon
#

That's fine

#

I wonder if PayPal isn't supported for AutoPMs yet

#

Checking with the team on this

tough wharf
#

Ok, thanks ๐Ÿ™‚

#

And for Klarna, while trying to enable it, I'm getting a warning:

Klarna is only available for Stripe Checkout and Payment Element right now.
For any payment you process with mobile Payment Element, Klarna won't appear on the checkout page.

So this means that for RN SDK it's not yet possible right? On the other side, there's an example implementation of it https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/KlarnaPaymentScreen.tsx. So it's only about adding it manually as custom button and not the pre-built one?

hard tendon
#

Can you create another PI with automatic_payment_methods this time? The one you originally shared was from yesterday, I wonder if something changes in your payment config since then?

hard tendon
#

Maybe you need to update the SDK?

tough wharf
#

I'm using the 0.30.0 which is the latest one.

hard tendon
#

Where do you see that warning?

tough wharf
#

In Stripe panel, after pressing "turn on" button in payment methods

hard tendon
#

I would guess that that is just outdated

tough wharf
#

Here's a fresh payment pi_3Nkmk0KcEfy0ogYO1ifWJ7Ag

hard tendon
#

Ok, I see PayPal on that one

#

So it should be rendered in the payment UI for that payment

tough wharf
#

I found a troubleshooting tool that tells the same, but then the question is if the pre-build ui requires some additional config?

#

I'm still having basic options available

hard tendon
#

Which versions of the underlying mobile SDKs is bundled in your RN build?

#

There should be no additional configuration AFAIK. My guess is the iOS/Android SDKs that the RN library wraps are outdated

tough wharf
#

How to check it?

#

I'm looking in node_modules, there should be some info about it

#

Ok, for iOS it's 23.3.4

#

it's quite old from what I see, probably same for Android

worldly coyote
#

Hi! I'm taking over this thread.

#

Can you try to summarize your question? Is the issue that Paypal didn't show up previously?

tough wharf
#

Well, there were several issues, but for Sofort and GiroPay everything is clear and it's a matter of our setup.

However, from the screenshot I posted at 13:44 it looks like both Klarna and Paypal should appear in my app as available methods, while they don't.

Currently I'm updating the packages and pods for iOS and I'll test in few minutes if that was the case.

worldly coyote
#

Looks like you enabled Paypal and Klarna in your dashboard today, and maybe that was the issue. Could you retry now to see if this is working now?

tough wharf
#

Unfortunately, after upgrading the iOS stripe pod to 23.12.0 and rebuilding the app, it's still the same.

worldly coyote
#

Can you share the new PaymentIntent ID?

tough wharf
#

pi_3NknPDKcEfy0ogYO1w8SfHjL

worldly coyote
#

And you only see the option to pay by card in the payment sheet?

#

Can you share a screenshot?

tough wharf
#

and apple pay on ios

worldly coyote
#

Did you set a return_url on the PaymentSheet configuration?

tough wharf
#

Oh, I was almost sure it was set up, but it's not. Give me a second and I'll check if this will help.

#

Hmm, that's weird. I just checked the app on my adnroid device (staging version) and I have a card, paypal and klarna options available. I'll investigate it a little bit deeper and come back here later.

worldly coyote
#

If it works on Andoird but not on iOS, then it's because of the missing return_url.

#

return_url is not needed on Andoird. On iOS if you ommit it, then payment method that require a redirect won't show up.

tough wharf
#

sure, so everything is clear now, thank you very much ๐Ÿ™‚