dj-stripe automatically syncs your Stripe Data to your local database as pre-implemented Django Models allowing you to use the Django ORM, in your code, to work with the data making it easier and faster.
This PR adds a new property to retrieve the last 4 digits of a payment method. This is very convenient when associating a payment method in a ForeignKey attribute from the admin dashboard. Otherwise when there are multiple Payment methods associated to a customer, you never know which one you are choosing.
This PR adds a new property to retrieve the last 4 digits of a payment method. This is very convenient when associating a payment method in a ForeignKey attribute from the admin dashboard. Otherwise when there are multiple Payment methods associated to a customer, you never know which one you are choosing.
Before:
After: