stripe-firebase-extensions
stripe-firebase-extensions copied to clipboard
Automatic invoice creation on payments with: invoice_creation: {enabled: true}
Feature request
Extension name: firestore-stripe-payments
Enable automatic invoice creation for payments: invoice_creation: {enabled: true},
Is your feature request related to a problem? Please describe.
Stripe recently enabled invoice creation for payments, this is done automatically for subscriptions, but has to be done manually for payments. A lot of my customer support requests relate to creating invoices for payments, so enabling this API feature would be very much appreciated.
const session = await stripe.checkout.sessions.create({
mode: 'payment',
invoice_creation: {enabled: true},
line_items: [{price: '{{ONE_TIME_PRICE_ID}}', quantity: 1}],
success_url: 'https://example.com',
cancel_url: 'https://example.com',
});
Describe the solution you'd like
Copy the value of invoice_creation: {enabled: true}, to the Stripe API call
Describe alternatives you've considered
Now I have to create it manually.
Hello,
I have the same problem now, I want to activate the "invoice_creation" option (see here).
@jsteele-stripe do you have a solution until this feature is implemented?
Hi @jsteele-stripe I propose a fix on #527 Thank you for reviewing it :) Regards
Hi @jsteele-stripe, do you know when the PR will be reviewed ? Thanks in advance, Regards Rémi
Same problem here, do you have an ETA for the review ?
Hello @jsteele-stripe, do you have any news about the PR ? My coworkers also have the same issue.
Thanks a lot