Skip to content

Commit 6c53efa

Browse files
committed
Add user email to payment intent
1 parent 1236d35 commit 6c53efa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shop/coinify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def create_coinify_payment_intent(order, request):
113113
"pluginIdentifier": "BornHack webshop",
114114
"orderId": str(order.id),
115115
"customerId": "bbca76fa-1337-439a-ae29-a3c2c2c84c4b",
116-
"customerEmail": "coinifycustomer@example.com",
116+
"customerEmail": order.user.email,
117117
"memo": "BornHack order id #%s" % order.id,
118118
"successUrl": order.get_coinify_thanks_url(request),
119119
"failureUrl": order.get_cancel_url(request),

0 commit comments

Comments
 (0)