mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue