google-cloud-firestorestripe-paymentsflutterflow

Stripe creating two customers instead of one (Firestore and FlutterFlow)


I'm trying like heck to get Stripe subscriptions working with Firebase in a web app. I added Stripe as an extension in Firebase but I'm having some issues here and there.

What's working:

Stripe Customers View:

Stripe Customers view

Firestore: enter image description here

What's NOT working:


Solution

  • The 'checkout' process you're referring to, is it using Stripe Checkout / Payment Links / Pricing Tables ?
    If so, that might be why.

    If you're using one of the following:
    -Checkout in subscription mode.
    -Payment Links / Pricing Tables with recurring items.
    Then Stripe Checkout automatically creates a Customer for you.

    -With Stripe Checkout, you can disable this by setting your own existing Customer with the customer argument:
    https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout#handling-existing-customers
    -With Payment Links and Pricing Tables, there is no current way to do this.

    Hope my hunch is correct about your checkout process or else this is pointless.