#Minalv
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
would you mind sharing the Payment Intent ID you created?
We are using set-up intent flow for the playment
seti_1MqYzFC3xbEm31dP9MHL3P2z_secret_NbmYB44lpZkq09EN0alc9azia7fiWDA
if you're using Setup Intents you need to pass all the different Payment Method Types you want to use
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
to automatically select the applicable PMs
okay but is it possible to load payment element without set-up intent at the client side
payment element have option to pass payment methods at the client side
we are using @rocky narwhal/react-stripe-js
you're using this https://stripe.com/docs/payments/accept-a-payment-deferred?type=setup ?
@tiny meadow it will show all the payment methods that enabled in stripe dashboard -> payment method setting
We want to show selective payment method
https://dashboard.stripe.com/test/settings/payment_methods
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I have tried above way
@charred girder how are you integrating? are you using the deferred method I shared there?
yesI am not passing client secreat token in Element
so it showing only card option in that case
acct_1MnzVQC3xbEm31dP
what is the PM type that you don't see
sepa_debit and other wallet methods
do you mean Google and Apple Pay?
I have tried other flow Like
I have generate setup intent with
paymentMethods.add("card");
paymentMethods.add("sepa_debit");
intentParams.put("payment_method_types", paymentMethods);
yes Google and Apple Pay
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
and ablove flow is working for me
same thing working when i pass payment methods while create set-up intent
sepa_debit is our primary requiremnt to support
then it's working fine right?
yes it working in above case
but our flow is like collecting detail first and after we are creating set-up intent based on the payment method id
I'm not sure I understand the issue here
Currently we are passing the payment method types in setup intent and it working fine
But in our flow we are creating set-up intent later (After collecting the detail )
So what we want here
Is there any way to pass the payment method in the payment element? at the client side and payment element render based on that
If no then which flow will be fesible for the us?
Curruntly we are using this flow https://stripe.com/docs/payments/accept-a-payment-deferred?type=setup
you can pass payment method types
if you want to specify the PMT yourself otherwise it will calculate based on the settings in your dashboard
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
@tiny meadow thank you for your support now it working fine without client secreat
I have one more concern regarding wallet
In which case google pay and apple will show in playment element?
we want add support for the both pay options
we need to do any configuration in stripe dashboard?
Whenever the customer browser meets some critera, for Google Pay, they need to have supported Chrome version with a valid card in their Google Wallet. Same for Apple pay.
You can refer to this link:
https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-testing
Curruntly wee are implementating this in developement
so how we can test in developement?
You need to host your website in a staging environment (with https) and you need to have all valid requirements (browser, valid card)
Google Pay and Apple pay are not supported in India as per the link I shared earlier https://support.stripe.com/questions/supported-payment-methods-currencies-and-businesses-for-stripe-accounts-in-india
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
okay thanks @tiny meadow
We are developing from india so is there any way for this?
if the account and/or the customer is in India than no