#Giriraj
1 messages · Page 1 of 1 (latest)
@prisma oyster let's continue here
And yes, after you feed the SetupIntent client secret into a PaymentElement. PaymentElement supports ApplePay
Sure, just the regular SetupIntent + PaymentElement here https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
ok, but which payment_method_types provide me apple pay option?
also i need to add paypal
@mint rune
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
https://stripe.com/docs/payments/paypal/set-up-future-payments?platform=web#web-create-setup-intent I think it should be possible
paste here the request id req_xxxx?
i have follow above document then got this error
Please also ensure the provided types are activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any features that you are trying to use.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
The error also suggests this
checking
i have enabled apple pay but i can't see on Elements section
Don't you mean Paypal?