Skip to content

Commit a40fbea

Browse files
committed
Merge branch 'develop'
2 parents 374183b + 558260c commit a40fbea

File tree

6 files changed

+6
-2
lines changed

6 files changed

+6
-2
lines changed

assets/js/androidkey.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

assets/js/const.template.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const PADDLE_HUB_SELF_HOSTED_SUBSCRIPTION_PLAN_ID = {{ .Site.Params.paddleHubSel
1010
const PADDLE_HUB_MANAGED_SUBSCRIPTION_PLAN_ID = {{ .Site.Params.paddleHubManagedSubscriptionPlanId }};
1111
const PADDLE_PRICES_URL = '{{ .Site.Params.paddlePricesUrl }}';
1212
const PADDLE_DISCOUNT_ID = '{{ .Site.Params.paddleDiscountId }}';
13+
const PADDLE_DISCOUNT_CODE = '{{ .Site.Params.paddleDiscountCode }}';
1314
const LEGACY_STORE_URL = '{{ .Site.Params.legacyStoreUrl }}';
1415
const STRIPE_PK = '{{ .Site.Params.stripePk }}';
1516
const STRIPE_PLANS = {{ .Site.Params.stripePlans | jsonify }};

assets/js/desktopkey.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

config/development/params.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ paddleHubSelfHostedSubscriptionPlanId: 23141
1818
paddleHubManagedSubscriptionPlanId: 42235
1919
paddlePricesUrl: https://sandbox-checkout.paddle.com/api/2.0/prices
2020
paddleDiscountId: dsc_01kba2drz2yg4v6h3d5f2687tw
21+
paddleDiscountCode: WINTER2025
2122

2223
# STRIPE
2324
stripePk: pk_test_51RCM24IBZmkR4F9UiLBiSmsAnJvWqmHcDLxXR8ABKK1MNsZk3zCk2VJW7ZfaBlD81zpQxCX243sS3LEp9dABwiG800kJnGykDF

config/production/params.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ paddleHubSelfHostedSubscriptionPlanId: 770132
1818
paddleHubManagedSubscriptionPlanId: 807339
1919
paddlePricesUrl: https://checkout.paddle.com/api/2.0/prices
2020
paddleDiscountId: dsc_01kba2vjmspm92sx2jhq4s2082
21+
paddleDiscountCode: WINTER2025
2122

2223
# STRIPE
2324
stripePk: pk_live_eSasX216vGvC26GdbVwA011V

config/staging/params.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ paddleHubSelfHostedSubscriptionPlanId: 23141
1818
paddleHubManagedSubscriptionPlanId: 42235
1919
paddlePricesUrl: https://sandbox-checkout.paddle.com/api/2.0/prices
2020
paddleDiscountId: dsc_01kba2drz2yg4v6h3d5f2687tw
21+
paddleDiscountCode: WINTER2025
2122

2223
# STRIPE
2324
stripePk: pk_test_51RCM24IBZmkR4F9UiLBiSmsAnJvWqmHcDLxXR8ABKK1MNsZk3zCk2VJW7ZfaBlD81zpQxCX243sS3LEp9dABwiG800kJnGykDF

0 commit comments

Comments
 (0)