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.
Please point to some javascript scripts to start with.
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.
Why? Because I can use the javascript console and change the price to 0.