#Minalv

1 messages ยท Page 1 of 1 (latest)

valid shaleBOT
tiny meadow
#

๐Ÿ‘‹ happy to help

charred girder
#

I have enabled payment method in stripe dashboard

#

thanks you @tiny meadow

tiny meadow
#

would you mind sharing the Payment Intent ID you created?

charred girder
#

We are using set-up intent flow for the playment

#

seti_1MqYzFC3xbEm31dP9MHL3P2z_secret_NbmYB44lpZkq09EN0alc9azia7fiWDA

tiny meadow
#

if you're using Setup Intents you need to pass all the different Payment Method Types you want to use

#

to automatically select the applicable PMs

charred girder
#

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

tiny meadow
charred girder
#

I have tried above way

tiny meadow
#

@charred girder how are you integrating? are you using the deferred method I shared there?

charred girder
#

yesI am not passing client secreat token in Element

#

so it showing only card option in that case

tiny meadow
#

ok

#

would you mind sharing your account ID?

charred girder
#

acct_1MnzVQC3xbEm31dP

tiny meadow
#

what is the PM type that you don't see

charred girder
#

sepa_debit and other wallet methods

tiny meadow
#

do you mean Google and Apple Pay?

charred girder
#

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

tiny meadow
charred girder
#

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

tiny meadow
#

then it's working fine right?

charred girder
#

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

valid shaleBOT
tiny meadow
#

I'm not sure I understand the issue here

charred girder
#

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

Build an integration where you can render the Payment Element prior to creating a PaymentIntent or SetupIntent.

tiny meadow
#

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

timid canopy
#

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

charred girder
#

@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?

timid canopy
charred girder
#

Curruntly wee are implementating this in developement

#

so how we can test in developement?

timid canopy
#

You need to host your website in a staging environment (with https) and you need to have all valid requirements (browser, valid card)

tiny meadow
#

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

charred girder
#

okay thanks @tiny meadow

#

We are developing from india so is there any way for this?

tiny meadow
#

if the account and/or the customer is in India than no