I am wondering if it is possible to show discounted price with a countdown timer with cookie and if the purchase is made within countdown time, the discounted price is passed to payment gateway else full price is passed to payment gateway.
console.log("Don't do this.");
Never, ever, leave the price of something up to the client side. Can you show a discounted price with a countdown timer? Sure. Should that price be taken from the browser to the payment gateway? No.
I can help with the timer but nothing else I am too busy for anything else here is the timer click view on codepen to see the code.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.