The Payment Intents API

Hi.

I wanted to know if Invoice Ninja v5 Selfhosted is now ready to use The Payment Intents API instead of API Sources

Best regards

Hi,

Can you please explain what you mean by “Payment Intents API”?

Hi:

I’ve get a email from Stripe about limit of use “The Sources API” at 18/August

Before: The Sources API
Now is The Payment Intents API | Stripe Documentation

best regards

@david can you please advise?

We have the payments intent supported for stripe

I guess castris got a similar email as we did:

This is a final reminder that on 15 August, the legacy Sources API will be turned off for all non-card payment methods. After this date, any Sources API calls for non-card payment methods will not be supported.
To continue accepting SEPA Direct Debit, you’ll need to upgrade to the Payment Intents API. If you need more time, you may request a one-time extension. If you do not take action before 15 August, payments for SEPA Direct Debit will fail.

Now in the stripe migration helper I get this hint:

Update your database to use the new PaymentMethods

Wherever you store a Source id in your local databases, either add a new column to store the PaymentMethod id or replace the Source id with the PaymentMethod id.

At this point, you can begin using these objects to create payments with the Payment Intents API.

Anything that needs to be done here to preserve our sepa direct debit flows?

Well I went to the next step and it says this, so I hope Ninja will automagically update:

Update Customer objects to use PaymentMethods

If you use Stripe Customer objects or Billing APIs to track default payment instruments, we will now update those objects.

Click the below button to set the new PaymentMethods as the default payment instrument in situations where the original Source was set as a default. This may include setting the PaymentMethod as the default on the Customer, on any existing Subscriptions, or on any existing Invoices.

If your integration relies on Stripe’s default payment instrument, please now update your integration to use Customer.invoice_settings.default_payment_method instead of Customer.default_source, Subscription.default_payment_method instead of Subscription.default_source, and Invoice.default_payment_method instead of Invoice.default_source.

Auto-billing via SEPA Mandate does not seem to work anymore, and somehow all recurring invoices got deleted in Stripe retired the legacy Sources API. Would highly appreciate help here cause our complete billing is defunct now!

I suggest creating a discussion on GitHub to follow up.