#anand
1 messages · Page 1 of 1 (latest)
Hi there, are you looking for this https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method_types ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
can we pass dynamic payment_method_types in setupIntents api
@glacial zodiac @rich viper
What do you mean by dynamic payment_method_types ?
Hmm, I don't think you answered the question
yes my mean. is can be pass dynamic payment_method_types in setupIntents
I don't pass like this 'payment_method_types' => ['bancontact', 'card','ideal','us_bank_account','sepa_debit','link','acss_debit'],
What kind of dynamic payment_method_types? can you share with me an example?
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.
@glacial zodiac i have not any example
if we have any exaple then will try self.
I'm afraid that I have difficulty understanding your requirements.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
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.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
but we are working in SetupIntent .
So may be this is not posible in SetupIntent ?
@glacial zodiac
No, this param is not available in SetupIntent,
You need to specify the list of payment_method_types when creating a SEtupIntent.
Thank you @glacial zodiac