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 Apr 10, 2024
1 parent 8303e09 commit 8a7dd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payments/stripe/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def create_session(self, payment):
if payment.billing_first_name or payment.billing_last_name:
session_data.update(
{
"customer_data": {
"metadata": {
"customer_name": f"{payment.billing_first_name} {payment.billing_last_name}"
}
}
Expand Down

0 comments on commit 8a7dd04

Please sign in to comment.