From b9fcbc7f2892609813fa56bd3038ae3d05574d7b Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Wed, 9 Aug 2023 10:17:54 +0200 Subject: [PATCH] Renamed donate button to pay in Stripe Checkout flow (#17646) fixes https://github.com/TryGhost/Product/issues/3705 --- ghost/stripe/lib/StripeAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/stripe/lib/StripeAPI.js b/ghost/stripe/lib/StripeAPI.js index 1b2b2c5b39..b03a257c4c 100644 --- a/ghost/stripe/lib/StripeAPI.js +++ b/ghost/stripe/lib/StripeAPI.js @@ -520,7 +520,7 @@ module.exports = class StripeAPI { metadata, customer: customer ? customer.id : undefined, customer_email: !customer && customerEmail ? customerEmail : undefined, - submit_type: 'donate', + submit_type: 'pay', invoice_creation: { enabled: true, invoice_data: {