#Flavitax

1 messages · Page 1 of 1 (latest)

umbral iceBOT
heady trellis
wide nymph
#

Thanks, but, Isn't the Firebase Stripe Extension supposed to do that automatically?

heady trellis
#

I don't know I'm afraid, we don't really know much about that extension

wide nymph
#

Stripe is the author of the extension but alright, thanks I'll try to call the api. Have a nice day!

heady trellis
#

we are but unfortuantely we don't really maintain it and a lot of the people who worked on it don't work at Stripe anymore

#

so it's not in a great situation, and we don't actually have much Firebase knowledge internally to maintain it

wide nymph
#

Okey, thanks for the help

#

Another question, I'm using @stripe/stripe-js and i can't find the API subscriptions.del functionnality

heady trellis
#

yep because stripe-js is a frontend library, and deleting a subscription is something you do on the backend instead using a secret key

#

using a library like stripe-node if you use Node.js on the backend, or our PHP library, or so on.

wide nymph
#

How can I do this with Next.js?

heady trellis
wide nymph
#

This one is client side?

heady trellis
#

no, it's server side.
per the link I posted :

The Stripe Node library provides convenient access to the Stripe API from applications written in server-side JavaScript.

For collecting customer and payment information in the browser, use Stripe.js.

wide nymph
#

I guess i miss understood

#

Alright ill try to make it work, thanks

wide nymph
#

Sorry for bothering you again, do you know something about "Auto delete" setting in "Customers" ?

#

Because the stripe Firebase Extension uses server side functions to do what i'm looking for but it sais i have to check this option on the stripe dashboard and i cant find it

heady trellis
heady trellis
wide nymph
#

I don't know, thats why i'm asking the support

heady trellis
#

it sais i have to check this option on the stripe dashboard and i cant find it
what says that exactly?

wide nymph
#

"

#

You have the option to automatically delete customer objects in Stripe by setting the deletion option in the configuration to “Auto delete”. In that case, when a user is deleted in Firebase Authentication, the extension will delete their customer object in Stripe which will immediately cancel all subscriptions for the user.

#

"

heady trellis
#

that sounds like more like configuration in the Firebase app. There's nothing in the Stripe dashboard for that

wide nymph
#

Hummmmm i see, i'l search for that then, thanks

wide nymph
#

I'm dumb af, ive been looking for a week and you are right, i'ts just a select option

heady trellis
#

I never used Firebase, but I assume it's an option in the config when installing the app or something

#

great!

wide nymph
#

Ure a legend