Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.x] Refactor receipts with more data from Stripe #1136

Merged
merged 3 commits into from
Apr 23, 2021

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Apr 22, 2021

This PR will refactor receipts so it'll pull more data from Stripe directly. There's now more info on the receipts like customer address, tax ids, etc. Also the description/memo field is added automatically. The vendor details still need to be provided explicitly because Stripe doesn't adds that historical data to the invoice object.

There's almost no breaking changes. Things that I can think of are the fact that the customer name (previously the to: info) is now derived directly from the Stripe customer. vendor and product parameters are now optional instead of required.

Here's a before / after of the receipts:

Screenshot 2021-04-23 at 18 39 48

Closes #952

@driesvints driesvints changed the title [13.x] Work on new receipts [13.x] Refactor receipts with more data from Stripe Apr 22, 2021
@driesvints driesvints marked this pull request as ready for review April 23, 2021 19:10
@taylorotwell taylorotwell merged commit 519a16a into master Apr 23, 2021
@taylorotwell taylorotwell deleted the refactor-receipt branch April 23, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants