Skip to content

joyhchen/stripe-invoice-frozen-customer-fields-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Stripe invoice frozen customer fields demo

Invoice finalization makes certain properties on the invoice immutable (https://docs.stripe.com/invoicing/integration/workflow-transitions#post-finalized). According to the docs, invoice.customer_address, invoice.customer_email, etc. can't be changed after the invoice has been finalized.

In practice, this means if you...

  1. Make an invoice with a customer whose email is foo@test.com
  2. Finalize the invoice
  3. Change the customer email to bar@test.com

The customer's email on the finalized invoice is still foo@test.com.

This notebook demonstrates that changing customer details after invoice finalization doesn't impact the invoice.

About

Demo: invoice finalization freezes customer attributes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published