#DeputyCheese

1 messages · Page 1 of 1 (latest)

fading burrowBOT
hard lake
#

Good question. Checking in to it

#

It has been a bit since I worked with these calls. Wouldn't confirmCardPayment work for both?

brisk jasper
#

Thanks, I looked at the docs and they only mention confirmCardPayment unfortunately.

#

Let me check

#

Nope

#

This PaymentIntent pi_3LxAqaClDK2O5WMj1na0YIli cannot be confirmed using your publishable key because its confirmation_method is set to manual. Please use your secret key instead, or create a PaymentIntent with confirmation_method set to automatic.

#

I want the confirmation mode for one time payments to remain "manual" and it would have been nice if that was also possible for subscriptions

#

Because I want to confirm them on the server side, not via stripe js

hard lake
#

Gotcha, thank you. Looking in to this and will get back with what I can find

brisk jasper
#

Ideally I want to confirm it manually on the server side (like with one time payments too) and observe the automatic renewals via stripe hooks.

#

Btw: what if the automatic renewal fails, how can I notify the user + send him a link to the 3d secure? Or should I pause/cancel his subscription in that case and force him to resubmit his credit card?

hard lake
#

There are a couple ways to handle that. But basically yes, you will want to reach out to the user to have them complete 3DS or input a new credit card. There are settings in your billing settings that let you set how retries are handled and even to have stripe automatically send out emails to collect that info https://stripe.com/docs/billing/subscriptions/overview#failed-payments

#

If you want to direct users to your own custom page, you can listen to webhook events like incoice.requires_action and invoice.payment_failed and email your users based on those

#

I haven't been able to find much on your handle vs confirm question yet, I will reach out to my colleagues to help look in to this.

hard lake
#

It looks like those will have to be separate flows because manual confirmation and automatic confirmation work pretty differently

brisk jasper
#

Okay, so there's no way to confirm subscriptions manually?

hard lake
#

Unfortunately not at the moment as far as I know