Code Monkey home page Code Monkey logo

Comments (10)

Ess-Bidali avatar Ess-Bidali commented on June 5, 2024

Hi, I have the same issue where, my invoices do not contain all the details I need to display to my clients.

I am looking for the following:

  1. Name
  2. Address
  3. Phone number
  4. Custom fields

It's possible for me to put this information manually when I generate the link as per the following screenshot:
https://ibb.co/dLdf2Qv

Is there some way that I can update the invoice object so that this information is captured?

from stripe-firebase-extensions.

thorsten-stripe avatar thorsten-stripe commented on June 5, 2024

@Ess-Bidali sorry for the delay. I'm discussing this one with the team. As it stands today, Checkout does not propagate the billing address to the customer object. I have a PR open that copies the billing address collected from Checkout to the customer object, you can follow along there: #96

To note that this only collects the name and billing address, it does not collect phone number nor custom fields. These would have to be collected outside of the checkout and added to the customer object via a separate Cloud Function for example.

from stripe-firebase-extensions.

jellelimpens avatar jellelimpens commented on June 5, 2024

Hello, I am using this system for my project in the Netherlands. All of the functions work perfectly but I have one problem. The only accepted payment method is creditcard. But in the Netherlands this is not that common. Most of the people use their bank account for online payments so I would like to implement SEPA.

Is there any way to do this implementation, but keep the features from firebase with all of the stuff.

from stripe-firebase-extensions.

thorsten-stripe avatar thorsten-stripe commented on June 5, 2024

@jellelimpens Stripe Checkout does not yet support SEPA Direct Debit for subscription creation, you would have to follow this tutorial to build your own checkout form and start subscriptions with your own Cloud Function: https://stripe.com/docs/billing/subscriptions/sepa-debit

The extension would still work for the webhook handling to sync subscription statuses and the creation of the portal link etc.

from stripe-firebase-extensions.

thorsten-stripe avatar thorsten-stripe commented on June 5, 2024

Quick note that the billing address is now being transcribed to the customer object since v0.1.8: https://github.com/stripe/stripe-firebase-extensions/blob/next/firestore-stripe-subscriptions/CHANGELOG.md#version-018---2020-11-19

from stripe-firebase-extensions.

 avatar commented on June 5, 2024

Absolutely. I collect shipping addresses in JavaScript checkout, this would stop me from using a middleman like SuperPortal.

from stripe-firebase-extensions.

thorsten-stripe avatar thorsten-stripe commented on June 5, 2024

Shipping address collection is supported as of version 0.1.12: https://github.com/stripe/stripe-firebase-extensions/blob/next/firestore-stripe-subscriptions/CHANGELOG.md#version-0112---2021-04-29

You can update the extension in your Firebase console to enable this.

from stripe-firebase-extensions.

reavpC6K avatar reavpC6K commented on June 5, 2024

Should country codes be individual array strings?
I understand collect_shipping_address: true would go in app.js:182?
I didn't add one-time payments. Not sure what I'm missing.

from stripe-firebase-extensions.

thorsten-stripe avatar thorsten-stripe commented on June 5, 2024

Should country codes be individual array strings?

Only one array:
image

I understand collect_shipping_address: true would go in app.js:182?

Correct, see: https://github.com/stripe-samples/firebase-subscription-payments/blob/master/public/javascript/app.js#L177 you can test it out here: https://stripe-subs-ext.web.app/

I didn't add one-time payments. Not sure what I'm missing.

This works both for one-time payment and for subscription mode

from stripe-firebase-extensions.

reavpC6K avatar reavpC6K commented on June 5, 2024

Thanks. My array was poorly formatted.

from stripe-firebase-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.