django-payments
django-payments copied to clipboard
Stripe : move customer_data field to metadata
Ref https://github.com/jazzband/django-payments/issues/378
In stripe/providers.py the field customer_data does not seem to be defined in Stripe API's Session object
It could be moved to the metadata field (from Stripe's documentation) :
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
LGTM.
Needs rebase (has conflicts).
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.42%. Comparing base (
8303e09) to head (3c6177c). Report is 15 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #407 +/- ##
=======================================
Coverage 78.42% 78.42%
=======================================
Files 29 29
Lines 1979 1979
Branches 244 234 -10
=======================================
Hits 1552 1552
Misses 310 310
Partials 117 117
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.