stripe-firebase-extensions icon indicating copy to clipboard operation
stripe-firebase-extensions copied to clipboard

Is it safe to switch over to this extension?

Open christiangenco opened this issue 2 years ago • 7 comments

Currently there are two Run Payments with Stripe Extensions listed—one created by Stripe and another created by invertase.

 2023-09-12 at 11 34 55 PM

I have the old Stripe extension installed in a few projects. Is it safe to uninstall that one and install the invertase one or should I hold off for now?

christiangenco avatar Sep 13 '23 04:09 christiangenco

I can't say for sure... but it does not work for me. The createCheckoutSession simply times-out.

msacket avatar Sep 26 '23 15:09 msacket

Hi All.

The Invertase should now be safe to switch over to, the Stripe version has now also been officially deprecated.

@msacket Would you be able to create a separate issue for the createCheckoutSession signout issue, if it is still an issue?

dackers86 avatar Oct 02 '23 07:10 dackers86

@dackers86 Could we get a migration guide? I see the https://console.firebase.google.com/project/_/extensions/install?instanceId=stripe/[email protected]&ref=invertase%[email protected] link in the README but I'm not sure what happens if I install the extension that way.

christiangenco avatar Nov 10 '23 01:11 christiangenco

I ended up just copying my settings from the Stripe extension, then uninstalling it and quickly installing this one Indiana Jones style. That seems to have worked.

3ubf2s

christiangenco avatar Nov 10 '23 18:11 christiangenco

Ha, I did the same but failed.

chased-by-boulder-indiana-jones

I took the Indiana Jones idea too literal. If you start configuring the new extension before the first one is fully deleted, it adds an postfix to the Cloud Function in Google cloud.

For anyone else migrating, delete the Stripe version and make sure it's fully deleted, the below functions will be deleted and disappear in the Google Cloud Function dashboard. Once you install the invertase, the functions will appear again, and look exactly like the old functions.

Screenshot 2023-11-13 at 15 16 41

If you start the integration too fast, it will look like this (notice the '5ecl' snipped added after ext-firestore-stripe-payments-). This did not work in my case, and I had to delete it and do it again.

Screenshot 2023-11-13 at 15 20 27

It might be worth adding a small note regarding this in the Readme.

emilwallner avatar Nov 13 '23 04:11 emilwallner

^ 👍
Rename your Stripe webhook URL from /ext-firestore-stripe-subscriptions to /ext-firestore-stripe-payments if you're coming from that era.

reavpC6K avatar Jan 15 '24 23:01 reavpC6K