#dragon.frost

1 messages · Page 1 of 1 (latest)

autumn stoneBOT
hardy verge
#

Hi there!

#

can I configure the elements provider without creating "options" object in the frontend?
If you are using the deferred flow, you need to provide the amount in the frontend. If you are using the regrular flow, then the amount is set on the backend.

#

Also is this method of doing deffered intent SCA compliant?
You mean PCI compliant?

fringe jacinth
#

The reason I don't want to use the regular flow is because I don't want to create pending intents before user completes the checkout. Is there any suggestions that you can give on this?

hardy verge
#

The reason I don't want to use the regular flow is because I don't want to create pending intents before user completes the checkout.
But what is the issue with having incimplete Subscriptions or PaymentIntent on your end?

fringe jacinth
#

I guess my main question is:
if customers do not complete the checkout flow then there can be a bunch of pending invoices right? so what purpose does this solve?

hardy verge
#

if customers do not complete the checkout flow then there can be a bunch of pending invoices right?
Yes that's true, but you can just ignore them.

#

And if you really don't want this, then yes you should use the deferred flow.

fringe jacinth
#

Can you please send me a link or something that references the usefulness of pending invoices and how to minimize having duplicate invoices as well.

hardy verge
#

that references the usefulness of pending invoices
There's no usefulness. It's just that the Payment Element needs a client_secret to work in the default flow. And if the first invoide is not paid withing 24 hours, then it will be automatically cancelled.
and how to minimize having duplicate invoices as well
What do you mean by this? If the same customers loads the page with the Payment Element twice, you could reuse the existing Subscription/Invoice instead of creating a new one.

fringe jacinth
#

oh cool thanks

#

Could you please let me know where can I apply discount and trial period configurations on this default flow for creating subcsription?

hardy verge
fringe jacinth
#

Wow thank you. That was really helpful.