#ferra

1 messages · Page 1 of 1 (latest)

plush edgeBOT
tranquil bough
#

hello! gimme a while to get back to you on this

cursive niche
#

It seems to fit indeed, thank you!

plush edgeBOT
hexed night
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

cursive niche
#

Is there a way to hide payment methods like we do when creating a PaymentIntent from API with automatic_payment_methods ?

#

I don't want the first line here. I was able to hide it with automatic_payment_methods.enabled=False

#

But now Element is created without PaymentIntent at this point

hexed night
#

Nope you can't, because this is like using automatic_payment_methods.enabled=true

cursive niche
#

I don't get it then... I can hide it BUT this is not compatible with the "save card" chackbox process OR I have to see this payment methods line if I want to implement this process?!

#

This is pretty confusing we can't have same behavior here...

hexed night
hexed night
cursive niche
#

Yes because I don't know yet if the user wants to use the card, as explained in my first message

hexed night
cursive niche
#

Ok but this returns me to my original problem...

hexed night
#

I don't know yet if the user wants to use the card, as explained in my first message
If you don't know what the user wants to use, then you should display all possible PaymentMethod that you offer using that line in order to let your customer choose what PaymentMethod to use

hexed night
cursive niche
#

Which is written in my first message

cursive niche
hexed night
cursive niche
#

Where can we configure what type of payment methods are displayed there?

#

Is there any section in the dashboard? Even for test env?

hexed night
cursive niche
#

Did you understand the orginal problem?

hexed night
#

It looks no according to your reply I would say

cursive niche
#

Hmm how come I see "giropay" "eps"... if I did NOT specifid payment_method_types which default is only 'card' ?

#

There is no such argument while creating the Element without PaymentIntent

hexed night
#

That's what I was saying, without PaymentIntent, the default behavior is like using automatic_payment_methods.enabled=true with PaymentIntent.

cursive niche
#

Oh I didn't see this doc page thank you

plush edgeBOT