#Nelte

1 messages · Page 1 of 1 (latest)

azure impBOT
vale edge
#

Do you have an example sub_xxx ID I can look at?

modest barn
#

Of course, this one is active at the moment, after having to confirm a payment; sub_1MFcDzAcLibpVx5iYzOlU5xB

vale edge
#

What I want to happen is that the customer’s is immediately charged without needing anymore actions by the customer like confirming the first invoice.
Unfortunately not always possible in the day of 3DS/SCA

#

Banks can and do request authentication for payments like this, which is the confirmation flow as part of the process

modest barn
#

Aaah, is this only for the very first invoice? or for all recurring invoices?

#

When manually adding this subscription to other customers thought the stripe ui the payment does go through automatically

vale edge
#

Well, 3DS can be requested on any payment. However our subscription APIs are optimised for reducing changes of authentication requests on recurring, off-session payments

modest barn
#

aah oke

#

so correct me if im wrong, due to 3DS/SCA regulations the payment confirmation step on the first invoice is mandatory in certain regions such as europe?

vale edge
#

It's not mandatory, no But highly likely to happen

#

If you follow our integration guides, then the APIs and SDKs handle all of this for you

modest barn
#

Hmm alright! All clear so far then!

#

By the way, I've got one more question.

#

Right now the customer is prompted to pay the flat rate immediately, while the metered prices are payed at the end of the cycle, how can i fix that the flat rate does not have to be payed immediately but the customer gets charged for all prices at the end of the cycle?

vale edge
#

Hmm, not possible automatically. That's just how they work – non-metered prices are invoiced upfront and metered billing is invoiced once usage is reported at the of period

modest barn
#

We are a PaaS, and it's a bit weird to charge customers beforehand for this, ideally we have all the invoices, at the end of the billing cycle, period. Is there a way to do this?

vale edge
#

You'd need to manually add an invoice item at the end of the period

modest barn
#

So we could build this into our webhook?

#

Assuming there is a trigger for end of period

vale edge
#

You could listen for invoice.upcoming and then add the Invoice Item to the associated Customer/Subscription

modest barn
#

cool coming back to the original question

#

you mention that if we follow Strtipe's integration guides, that payment confirmation should be handled automatically, for me it's still unclear whether we on our end need to build a page with all the invoices, and the customer has to manually pay one, or they should be charged automatically? Or perhaps can we handle 3ds confirmation once a user adds their creditcard?

vale edge
#

Are you using collection_method: 'charge_automatically' on your Subscriptions?

modest barn
#

yes

vale edge
#

Then we will automatically attempt to collect payment for invoices using the configured payment method. There's no manually process involved there

#

The only time with subscription where an explicit confirmation flow is required would be:

  • On subscription creation.
  • Any subsequent invoice payments that fail due to a 3DS/auth request from bank.
modest barn
#

ok thank you!

#

Our api just created a new subscription (still on test data), if i check the stripe dashboard, the customer now has an invoice with status incomplete. When we are in production will the customer automatically receive an email from stripe to confirm this payment or do we need to set this up ourselves?

vale edge
modest barn
#

we dont use checkout flow, our api handles everything

vale edge
#

Then you'll need to handle bringing customers back on-session in instances of payments requiring 3DS/authentication