#Giriraj

1 messages · Page 1 of 1 (latest)

spice prairieBOT
mint rune
#

@prisma oyster let's continue here

#

And yes, after you feed the SetupIntent client secret into a PaymentElement. PaymentElement supports ApplePay

prisma oyster
#

thanks @mint rune , can you send me link or something?

#

@mint rune

mint rune
prisma oyster
#

ok, but which payment_method_types provide me apple pay option?

#

also i need to add paypal

#

@mint rune

mint rune
#

Just card

#

card includes wallet (ApplePay/GooglePay)

prisma oyster
#

it's possible to set payment_method_types = "paypal"?

#

i follow below code

try {
const setupIntent = await stripe.setupIntents.create({
customer: customerId,
payment_method_types: ["card", "acss_debit", "bancontact", "card_present", "cashapp", "ideal", "sepa_debit", "sofort", "us_bank_account"],
});
return setupIntent;
} catch (error) {
errorToast({ msg: String(error) });
}

#

i have try with paypal but it's return me error

mint rune
#

paste here the request id req_xxxx?

prisma oyster
#

ok wait checking above documentation

#

req_aqUkfyTHD97CwW

prisma oyster
mint rune
#

The error also suggests this

prisma oyster
#

checking

prisma oyster
#

i have enabled apple pay but i can't see on Elements section

mint rune
#

Don't you mean Paypal?

spice prairieBOT