Skip to content

Commit

Permalink
move customer_data field to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienheureux committed May 14, 2024
1 parent f655fb2 commit 9e6ed78
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 9e6ed78

Please # to comment.