Skip to content

Commit

Permalink
move customer_data field to metadata
Browse files Browse the repository at this point in the history
Ref #378
  • Loading branch information
fabienheureux authored and WhyNotHugo committed Jun 13, 2024
1 parent 39d6564 commit 3d5c849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions payments/stripe/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def create_session(self, payment):
if payment.billing_first_name or payment.billing_last_name:
session_data.update(
{
"customer_data": {
"customer_name": f"{payment.billing_first_name} "
"metadata": {
"customer_name": f"{payment.billing_first_name} "
f"{payment.billing_last_name}"
}
}
Expand Down

0 comments on commit 3d5c849

Please sign in to comment.