#vipul_13860
1 messages · Page 1 of 1 (latest)
Hi there, there's no dedicated integraiton doc for subscriptions + express checkout elements. The closest that we have is https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
@steep canopy , Hi thank you for link, i have already done using this - https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=subscription , but i have express checkout elements also on top of this form, i want to integrate express checkout also, and i have onetime fee with subscription items, i am not able to found how to handle that, also is thay any way to test google pay and apple pay local i am running on localhost:3000 with secure HTTPS
Apple Pay and Google Pay will only work with domain registered: https://stripe.com/docs/payments/payment-methods/pmd-registration
Payment Element will also show Apple Pay and Google Pay. Why do you need additional Express Checkout Element?
@supple dagger thank you for ans.
in my app i have dedicated checkout page where i used payment element, but i have this additional button where can user subscribe so i need to add express checkout here.
also how payment element will display google pay, apple pay and link is there any option to enable it, i have already enabled payment methods for that in my stripe account
Hi @gritty shoal the idea is that you retrieve the payment_intent from the subscription's latest_invoice, and use express checkout element to confirm this payment intent.https://stripe.com/docs/elements/express-checkout-element/accept-a-payment#submit-the-payment
@steep canopy , yes i understand that but in apple pay case i need to do any specific things, as i can see here - https://prnt.sc/6MS9RG2XYAW5
That's the API reference for payment element. To clarify, are you using payment element or express checkout element?
i am using payment element for dedicated checkout page, and i want to integrate express checkout element on my pricing page as i have shown here - https://prnt.sc/jZ0H7z-Puwad
Ok, have you tried what I suggested?
you mean this integration right - https://stripe.com/docs/elements/express-checkout-element/accept-a-payment#submit-the-payment , so in this case i didn not need any specific option to pass in apple and google, what i need to do is to generate susbcription fine the latest_invoice and pass to confirm payment right?
beacuse this is bit confusing in this - https://stripe.com/docs/elements/express-checkout-element/accept-a-payment#configure-apple-pay where to use this
Yes.
@steep canopy https://stripe.com/docs/elements/express-checkout-element/accept-a-payment#configure-apple-pay. - i am not able to get this when this is required to do, in which case do we need to use this, if i am able to create subscription and direct pass client_secreate to confirmPayment, where is this required ?
For subscrepitions, it's recommended to use PKRecurringPaymentRequest