Fixed preset amount for donations (#17617)
refs https://github.com/TryGhost/Product/issues/3666
This commit is contained in:
parent
3254b8e149
commit
f386a92f98
@ -339,7 +339,7 @@ class PaymentsService {
|
||||
async createPriceForDonations({currency, amount, nickname}) {
|
||||
const product = await this.getProductForDonations({name: nickname});
|
||||
|
||||
const preset = amount ? amount : null;
|
||||
const preset = amount ? amount : undefined;
|
||||
|
||||
// Create the price in Stripe
|
||||
const price = await this.stripeAPIService.createPrice({
|
||||
|
Loading…
Reference in New Issue
Block a user