laravel / cashier-stripe

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.
https://laravel.com/docs/billing
MIT License
2.37k stars 671 forks source link

Migrate saving cards for SCA #649

Closed driesvints closed 5 years ago

driesvints commented 5 years ago

If you are based in Europe and preparing for Strong Customer Authentication you will need to make further changes after July 1 in order to perform authentication when saving a card for subsequent off-session payments to qualify for off-session exemptions. This API will be available by July 1.

Someone noted this here. We'll need to update the way we save cards to comply. The API for this will be released on July 1.

https://stripe.com/docs/payments/payment-intents/migration#saving-cards-checkout https://stripe.com/docs/payments/payment-methods/saving

scottybo commented 5 years ago

This is a major issue, and I'm curious whether it will be backwards compatible with the likes of Laravel Spark? We're on the 5.x branch and upgrading to the next major version is a massive job for us.

driesvints commented 5 years ago

This is a major issue, and I'm curious whether it will be backwards compatible with the likes of Laravel Spark? We're on the 5.x branch and upgrading to the next major version is a massive job for us.

Spark will receive an update with the latest version of Cashier. When that'll be or what the upgrade path will be is too early to tell at the moment.

driesvints commented 5 years ago

Maybe also goes together with https://github.com/laravel/cashier/issues/605

driesvints commented 5 years ago

I'm currently talking to Stripe to clear out the final things. It seems to me there's no way to set a default payment method atm in Stripe.

driesvints commented 5 years ago

Stripe just released their new API which should help with this. I'll take a look at this later this week: https://stripe.com/docs/payments/cards/reusing-cards

driesvints commented 5 years ago

Sent in a PR for this here: https://github.com/laravel/cashier/pull/696

Basically all of the old sources/token based implementation is completely replaced with the new payment methods api. These are quite some changes but necessary ones because that's the way Stripe is pushing us.

damayantinama commented 4 years ago

I have upgraded Laravel to 6.0, Laravel Spark to 9.0 and Cashier to 10.0

In the Spark Subscription settings, I am seeing undefined as the currency instead of £.

I tried adding CASHIER_CURRENCY=usd to .env but no difference.

Any idea ?

driesvints commented 4 years ago

@damayantinama please try a support channel like I've asked you to for several times already.