adrienverge / localstripe

A fake but stateful Stripe server that you can run locally, for testing purposes.
GNU General Public License v3.0
192 stars 59 forks source link

feat(invoice): Add amount_paid attribute #182

Closed bravier closed 3 years ago

bravier commented 3 years ago

This commit makes the assumption that invoices in localstripe are either fully paid (amount_paid == amount_due) or not paid at all (amount_paid = 0). This behavior can be different with real Stripe servers.

Tested with my end-to-end tests without any error.

bravier commented 3 years ago

Thanks guys!