#sks
1 messages · Page 1 of 1 (latest)
Hi! For questions about Firebase please contact Stripe support: https://support.stripe.com/?contact=true or Firebase support.
@digital knoll can you share the code you're using please?
Make sure you're specifying the correct Firebase region for your project when invoking the function. That's often the issue here.
let me check
Extensive GH repo issue on this exact problem: https://github.com/stripe/stripe-firebase-extensions/issues/59
I'm running through a very annoying issue when calling createPortalLink function. I always get the following error : "Access to fetch at 'https://name-of-my-project.cloudfu...
I am looking at this.
If you can share your code that invokes the Firebase function then I can help debug
Yes it works now.
Was it the region?
const functions = getFunctions(getApp(), "asia-south1");
const fn = httpsCallable(functions, 'ext-firestore-stripe-payments-createPortalLink');
const { data } = await fn({
returnUrl: window.location.origin,
});
window.location.assign(data.url);
Yes, it was. Here is the code if anyone wants this in future.
@upbeat canopy Thank you!
np!