Adds support for using Accounts v2 payment method billing details for Stripe Tax locationBreaking changes
What’s new
Adds the payment_ value to the location_source enum on the Accounts v2 Customer Configuration.
Why is this a breaking change?
This change adds a new payment_ value to the closed location_source enum. Users receiving a response with the unexpected payment_ value might handle the response incorrectly.
Impact
Stripe Tax users can now use a payment method to calculate tax for an Accounts v2 transaction by setting location_source to payment_. We use the billing details of the most specific default payment method available, in the following order of priority:
- Invoice, if present.
- Subscription, if present.
- Accounts v2 Customer Configuration, if present.