solidusio / solidus_stripe

💳 Integrate Solidus with Stripe
https://stripe.com
BSD 3-Clause "New" or "Revised" License
36 stars 62 forks source link

Add support for v4 intents payment sources saved in wallet_payment_sources #323

Closed rabbitbike closed 7 months ago

rabbitbike commented 7 months ago

Desired Behavior

Allow continued use of v4 payment sources in wallet_payment_sources that have already been saved before upgrading to v5. This way, existing stores that already used v4 of this gem can realize more seamless upgrade process. The stores will not have to ask customers to re-enter credit cards after moving to v5.

Current Behavior

Currently v5 provides no clear migration path from v4 implementation.

Additional notes

~I have opened a draft, proof of concept PR attempting one possible way of doing this in #322.~ (I closed the PR as I found that the payment_method_id has to stay the same after the upgrade for it to work.) I would like to ask if something like this is ever under consideration. And if so, I hope some solution can be integrated into the gem so that no customization is needed for current users of this gem.

If, on the other hand, such a support will not be added to the gem, I hope an entry can be added to the documentation discussing how to use saved v4 payment sources. I believe it will prove to be very useful for users trying to migrate from v4 to v5.

Thank you for your consideration.

rabbitbike commented 7 months ago

Update

I would like to close this issue as I understand that v5 is a complete rewrite and such a backward support is currently not planned.