firebase-subscription-payments
firebase-subscription-payments copied to clipboard
Customer Portal: Doesn't work with Firebase 9 How to solve?
Here is my code
billingPortal (){
const functions = getFunctions(functionLocation);
const addMessage = httpsCallable(functions, 'ext-firestore-stripe-payments-createPortalLink');
addMessage()
.then((result) => {
// Read result of the Cloud Function.
/** @type {any} */
const data = result.data;
const sanitizedMessage = data.text;
console.log(data)
});
}
Cany anyone help, my code may be wrong.