#tienbt_14585
1 messages · Page 1 of 1 (latest)
Do you follow this guide to implement Payment Element integration? https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
I have read this document but I don't see the format template I sent you above. I see this template applies to checkout, is there any way I can apply the template above to payment Element?
From the screenshot, it looks like a screenshot from Checkout Session. I'm afraid Payment Element doesn't have the exact layout/template as the Checkout Session
If I want to custom same Checkout Session.Is there any way?
The closes is using embedded form: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=embedded-checkout
With direct Payment Element integration, Checkout Session design is not supported
Currently I see payment Element is being applied to paymentIntent. If I apply subscription now, will the payment Element be applied?
For subscription integration with Payment Element, I'd recommend following the guide here: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
Subscription and one-time payment integrations are different
Let me ask, if I use a subscription, can I use promotion to get a discount?
And apply tax to the subscription case.
if I use a subscription, can I use promotion to get a discount?
This is possible if you ask the customer for the promotion code first, then create the subscription with the promotion code ID: https://stripe.com/docs/api/subscriptions/create#create_subscription-promotion_code
And apply tax to the subscription case.
Yes! Please refer to the guide here: https://stripe.com/docs/billing/taxes/collect-taxes?tax-calculation=stripe-tax
So let me ask more, if you apply promotion code for subscription, then in the following installments it will automatically pay for the subscription, it will pay with the unit price as below:
For example, a subscription costs $100, has a promotion code for a 20% discount, so the first payment is only $80.
Will the second subscription payment be $80 or $100?
That depends on you set the promotion code: https://stripe.com/docs/billing/subscriptions/coupons
It can be one-time or recurring discounts
Thanks so much
When creating a subscription with a fixed price, and there is a fee applied for the first time, subsequent payments will only be the subscription price without a fee applied for the first time. Can you recommend me this case?
Do you mean like an additional fee applied for first time only?
Thanks so much