#manux-paymentmethods-eur

1 messages ยท Page 1 of 1 (latest)

austere ermineBOT
jagged orbit
#

Hi ๐Ÿ‘‹

Are you creating the Intent with support for more than just the card payment method?

#

Do you have more payment methods enabled on your account?

pallid gazelle
#

const paymentIntent = await stripeClient.paymentIntents.create({ amount: calculateOrderAmount(items), currency: "usd", automatic_payment_methods: { enabled: true, }, });

#

Yes I have more payment methods enabled

pallid gazelle
#

I was also trying to pass the methods like so:

const paymentIntent = await stripe.paymentIntents.create({ amount: 1099, currency: 'eur', payment_method_types: [ 'bancontact', 'card', 'eps', 'giropay', 'ideal', 'p24', 'sepa_debit', 'sofort', ], });

But the request fails if I do.

jagged orbit
pallid gazelle
#

"id": "pi_3MYZ8QKPF1lmFQxD0n6shTQt",

This is for a 200 response

#

(I didn't know about these logs, I'm seeing the errors myself now ๐Ÿ™ )

jagged orbit
pallid gazelle
#

Yeah, however changing the currency to "eur" did make the other payment methods show up

#

It was failing because these payment methods only accept euro as a currency

#

I think I can take it from here though, thanks a lot for showing me where to see the logs ๐Ÿ˜€

jagged orbit
#

Those logs are a big help in figuring out what's going on. Best of luck!

pallid gazelle
#

Thanks!

#

@jagged orbit one more thing

#

How do I show apple pay and google pay as well?

#

is it another category different to payment_method_types?

#

I have them activated on the dashboard

#

but they don't show automatically

brazen junco
#

manux-paymentmethods-eur

pallid gazelle
#

Ah ok ok

#

Must be the HTTPS then

#

good to know ๐Ÿ™