File tree Expand file tree Collapse file tree 6 files changed +6
-2
lines changed
Expand file tree Collapse file tree 6 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class AndroidLicense {
7373 settings : { locale : locale } ,
7474 items : [ { priceId : PADDLE_ANDROID_PRICE_ID , quantity : 1 } ] ,
7575 customer : { email : this . _checkoutData . email } ,
76- discountId : PADDLE_DISCOUNT_ID
76+ discountCode : PADDLE_DISCOUNT_CODE
7777 } ) ;
7878 } ) ;
7979 }
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ const PADDLE_HUB_SELF_HOSTED_SUBSCRIPTION_PLAN_ID = {{ .Site.Params.paddleHubSel
1010const PADDLE_HUB_MANAGED_SUBSCRIPTION_PLAN_ID = { { . Site . Params . paddleHubManagedSubscriptionPlanId } } ;
1111const PADDLE_PRICES_URL = '{{ .Site.Params.paddlePricesUrl }}' ;
1212const PADDLE_DISCOUNT_ID = '{{ .Site.Params.paddleDiscountId }}' ;
13+ const PADDLE_DISCOUNT_CODE = '{{ .Site.Params.paddleDiscountCode }}' ;
1314const LEGACY_STORE_URL = '{{ .Site.Params.legacyStoreUrl }}' ;
1415const STRIPE_PK = '{{ .Site.Params.stripePk }}' ;
1516const STRIPE_PLANS = { { . Site . Params . stripePlans | jsonify } } ;
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class DesktopLicense {
7676 settings : { locale : locale } ,
7777 items : [ { priceId : priceId , quantity : Number . parseInt ( this . _checkoutData . quantity ) } ] ,
7878 customer : { email : this . _checkoutData . email } ,
79- discountId : PADDLE_DISCOUNT_ID
79+ discountCode : PADDLE_DISCOUNT_CODE
8080 } ) ;
8181 } ) ;
8282 }
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ paddleHubSelfHostedSubscriptionPlanId: 23141
1818paddleHubManagedSubscriptionPlanId : 42235
1919paddlePricesUrl : https://sandbox-checkout.paddle.com/api/2.0/prices
2020paddleDiscountId : dsc_01kba2drz2yg4v6h3d5f2687tw
21+ paddleDiscountCode : WINTER2025
2122
2223# STRIPE
2324stripePk : pk_test_51RCM24IBZmkR4F9UiLBiSmsAnJvWqmHcDLxXR8ABKK1MNsZk3zCk2VJW7ZfaBlD81zpQxCX243sS3LEp9dABwiG800kJnGykDF
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ paddleHubSelfHostedSubscriptionPlanId: 770132
1818paddleHubManagedSubscriptionPlanId : 807339
1919paddlePricesUrl : https://checkout.paddle.com/api/2.0/prices
2020paddleDiscountId : dsc_01kba2vjmspm92sx2jhq4s2082
21+ paddleDiscountCode : WINTER2025
2122
2223# STRIPE
2324stripePk : pk_live_eSasX216vGvC26GdbVwA011V
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ paddleHubSelfHostedSubscriptionPlanId: 23141
1818paddleHubManagedSubscriptionPlanId : 42235
1919paddlePricesUrl : https://sandbox-checkout.paddle.com/api/2.0/prices
2020paddleDiscountId : dsc_01kba2drz2yg4v6h3d5f2687tw
21+ paddleDiscountCode : WINTER2025
2122
2223# STRIPE
2324stripePk : pk_test_51RCM24IBZmkR4F9UiLBiSmsAnJvWqmHcDLxXR8ABKK1MNsZk3zCk2VJW7ZfaBlD81zpQxCX243sS3LEp9dABwiG800kJnGykDF
You can’t perform that action at this time.
0 commit comments