#Giriraj
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
ok
Yes, both work with SetupIntent.
yes
seti_1NLN9ABSgwhLUexT0OIIamcR_secret_O7cNg51V7Gi0TnpV3kzyI9pTrA2OqwA
above client_secret i have set like below code
{
clientSecret: slotState?.clientSecret,
appearance: {
theme: "floating",
},
}
<Elements stripe={stripePromise} options={options}>
<PaymentForm />
</Elements>
here i can't able to see apply pay and paypal option
You will need to add PayPal to the list of payment_method_types, or use automatic_payment_methods: https://stripe.com/docs/api/setup_intents/create#create_setup_intent-automatic_payment_methods
i will go with payment_method_types
Also, to use Apple Pay with Payment Element on your page you will need to serve the page over HTTPS and verify your domain: https://stripe.com/docs/stripe-js/elements/payment-request-button?client=react#react-prerequisites
apple pay only work for live?
No, but you will need to serve the page over HTTPS, you can use https://ngrok.com/ to test from local
ngrok is the fastest way to put anything on
the internet with a single command.
ok you mean apple pay only work for CheckoutForm?
here, i can't use?
and yes, i have to add paypal from payment_method_types. it's return me error.
look this paypal error
@balmy mason
No, you can make it work on the Payment Element too
Have you enabled paypal in your settings?
What country is your Stripe Account?
PayPal is not supported in the US at the moment.
setting is enabled but i can't see on below page
here i can't see apple pay option
i need to add apple pay option while create setupintent @balmy mason
how can i add those option? @balmy mason
Have you gone through the requirements on the page I shared? https://stripe.com/docs/stripe-js/elements/payment-request-button?client=react#react-prerequisites
thanks let me check