#tsjost-automatic-payment-methods

1 messages ยท Page 1 of 1 (latest)

cunning ledge
#

Hi there ๐Ÿ‘‹ some types of payment methods have additional restrictions that prevent them from being presented, could you share the ID of the Payment Intent (pi_123) that you created and were looking at so that I can take a closer look?

wise swift
#

pi_3LX87KIxOOJN8nY61sCsQfNl for example

#

if I create a PaymentIntent with 'payment_method_types' => ['card', 'klarna'] (pi_3LX8ilIxOOJN8nY62kyVRs2d) then the Payment Element is populated with Card and Klarna buttons

#

uh, now if I'm creating another PI with automatic_payment_methods enabled, I'm getting both Card and Klarna ๐Ÿค”

cunning ledge
wise swift
#

right, Klarna was already in the "Live" list, but I found a long list where I could press a "Turn on" button as well

#

but then why aren't all the other methods showing up that are already Live and Turned on?

cunning ledge
#

To clarify, I don't see that Klarna is turned on for that account in livemode. I do see a couple other options that are enabled in testmode, and am taking a look at why they aren't showing up for your testmode requests.

wise swift
#

I created a PI with 'payment_method_types' => ['card', 'giropay'] and then another with automatic_payment_methods ... and now all methods are showing up ๐Ÿค”

cunning ledge
#

It's because you changed the currency that you're using.

wise swift
#

oh right

cunning ledge
#

Most of the payment method options that you referenced require an eur presentment currency.

wise swift
#

Klarna isn't showing up in usd either but that's because it requires a separate setup I imagine

#

anyway, it seems to be working fine now. thanks for the assistance! ๐Ÿฅฐ

cunning ledge
#

Happy to be able to help!