1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Server: Allow entering coupon code on Stripe checkout page

This commit is contained in:
Laurent Cozic 2021-09-20 15:25:59 +01:00
parent 03b4b6eb2d
commit 4577c9c161

View File

@ -77,6 +77,7 @@ export const postHandlers: PostHandlers = {
subscription_data: { subscription_data: {
trial_period_days: 14, trial_period_days: 14,
}, },
allow_promotion_codes: true,
// {CHECKOUT_SESSION_ID} is a string literal; do not change it! // {CHECKOUT_SESSION_ID} is a string literal; do not change it!
// the actual Session ID is returned in the query parameter when your customer // the actual Session ID is returned in the query parameter when your customer
// is redirected to the success page. // is redirected to the success page.