#DoHBoY-firebase
1 messages · Page 1 of 1 (latest)
hey! So, when I go to click the button to access the customer portal, I am getting this CORS error
This is the code behind the button, just straight from the example here https://github.com/stripe-samples/firebase-subscription-payments
In app.js can you try changing ext-firestore-stripe-subscriptions-createPortalLink to ext-firestore-stripe-payments-createPortalLink
😓
I think I'll see myself out now
lol, thank you. I obviously need to take a break because I read over that line and the actual function in Firebase multiple times, word for word, and just didn't see it was different
not your fault at all! the only reason I saw it is because others have run into this issue - it needs to be fixed in our sample
I'm assuming the sample/test environment has the function in firebase created as "subscriptions" then huh? Guess an older version of the extension created them with different names than it does now? Things like this are why I am always scared to change anything... who knows what I will break for whoever is linking to it lol
Yeah I think the issue was a rename, which is called out in the changelog here https://github.com/stripe/stripe-firebase-extensions/blob/next/firestore-stripe-payments/CHANGELOG.md#version-022---2021-11-09