Skip to content

Commit c5cd3cd

Browse files
committed
Convert quantity to integer for Paddle checkout
1 parent 72ccac4 commit c5cd3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/desktopkey.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class DesktopLicense {
7474
this._paddle.then(paddle => {
7575
paddle.Checkout.open({
7676
settings: { locale: locale },
77-
items: [{ priceId: priceId, quantity: this._checkoutData.quantity }],
77+
items: [{ priceId: priceId, quantity: Number.parseInt(this._checkoutData.quantity) }],
7878
customer: { email: this._checkoutData.email }
7979
});
8080
});

0 commit comments

Comments
 (0)