mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
web: allow discounts in overlay checkout
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user