#anand

1 messages · Page 1 of 1 (latest)

rich viperBOT
glacial zodiac
pure obsidian
#

can we pass dynamic payment_method_types in setupIntents api

#

@glacial zodiac @rich viper

glacial zodiac
#

What do you mean by dynamic payment_method_types ?

pure obsidian
#

yes

#

@glacial zodiac

glacial zodiac
#

Hmm, I don't think you answered the question

pure obsidian
#

I don't pass like this 'payment_method_types' => ['bancontact', 'card','ideal','us_bank_account','sepa_debit','link','acss_debit'],

glacial zodiac
#

What kind of dynamic payment_method_types? can you share with me an example?

pure obsidian
#

Okay Actuly i'm a developer

#

my client want can be pass dynamic payment_method_types rather then like this 'payment_method_types' => ['bancontact', 'card','ideal','us_bank_account','sepa_debit','link','acss_debit.

pure obsidian
#

if we have any exaple then will try self.

glacial zodiac
#

I'm afraid that I have difficulty understanding your requirements.

pure obsidian
#

as per documentaion we need paas payment_method_types currect

#

if don't pass any payment_method_types then default will card .

we want to all payment method paas but we dont write like as" payment_method_types' => ['bancontact', 'card','ideal','us_bank_account','sepa_debit','link','acss_debit."

#

we are seaching any method or api in strip which use for dynamic payment_method_types pass by using method or api of strip

glacial zodiac
#

OK I think I know what you need now

#

https://stripe.com/docs/api/payment_intents/create#create_payment_intent-automatic_payment_methods you can use automatic_payment_methods so that you can control what payment methods to present to your customer from your Dashboard settings. Note that this param is not available in SetupIntent.

pure obsidian
#

but we are working in SetupIntent .

#

So may be this is not posible in SetupIntent ?

#

@glacial zodiac

glacial zodiac
#

No, this param is not available in SetupIntent,

#

You need to specify the list of payment_method_types when creating a SEtupIntent.

pure obsidian
#

Thank you @glacial zodiac