web: allow discounts in overlay checkout

This commit is contained in:
Abdullah Atta
2025-10-20 10:57:51 +05:00
parent ea52893be1
commit 2eb38d236e

View File

@@ -47,7 +47,12 @@ function Payments() {
if (_ptxn) { if (_ptxn) {
paddle.Checkout.open({ paddle.Checkout.open({
transactionId: _ptxn, transactionId: _ptxn,
settings: { displayMode: "overlay" } settings: {
displayMode: "overlay",
allowDiscountRemoval: true,
showAddDiscounts: true,
showAddTaxId: true
}
}); });
} else if (priceId) { } else if (priceId) {
paddle.Checkout.open({ paddle.Checkout.open({