Fixed donations checkout for logged-off readers (#17589)
closes https://github.com/TryGhost/Product/issues/3663
This commit is contained in:
parent
19bdb0efef
commit
7e9b2d4883
@ -519,7 +519,7 @@ module.exports = class StripeAPI {
|
||||
},
|
||||
metadata,
|
||||
customer: customer ? customer.id : undefined,
|
||||
customer_email: customer ? undefined : customerEmail,
|
||||
customer_email: !customer && customerEmail ? customerEmail : undefined,
|
||||
submit_type: 'donate',
|
||||
invoice_creation: {
|
||||
enabled: true,
|
||||
|
Loading…
Reference in New Issue
Block a user