You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(payments-next): Enable non-charge payments with stripe
Because:
* Stripe payments for a free purchase or for a reimbursement do not generate a payment intent as part of the payment process. The existing code throws an error for payments missing a payment intent
This commit:
* Adds in a special case for payments with a total amount of 0. Both "negative" payments (e.g. an upgrade to a lower price) and free purchases result in invoices with a total of 0, and a 'paid' status. Stripe automatically handles the application of negative purchase amounts towards the customer's account as a credit.
Closes #FXA-11413
0 commit comments