stripe-firebase-extensions icon indicating copy to clipboard operation
stripe-firebase-extensions copied to clipboard

Automatic invoice creation on payments with: invoice_creation: {enabled: true}

Open emilwallner opened this issue 2 years ago • 5 comments

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.

emilwallner avatar Jan 10 '23 11:01 emilwallner

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?

GautierCo avatar Apr 12 '23 15:04 GautierCo

Hi @jsteele-stripe I propose a fix on #527 Thank you for reviewing it :) Regards

remilefort avatar May 04 '23 08:05 remilefort

Hi @jsteele-stripe, do you know when the PR will be reviewed ? Thanks in advance, Regards Rémi

remilefort avatar May 25 '23 13:05 remilefort

Same problem here, do you have an ETA for the review ?

antoineDievDecath avatar Jun 01 '23 10:06 antoineDievDecath

Hello @jsteele-stripe, do you have any news about the PR ? My coworkers also have the same issue.

Thanks a lot

rbrgnt avatar Jun 01 '23 10:06 rbrgnt