Callback should take into account the time after which it was received
thisisayush opened this issue · 0 comments
thisisayush commented
For JS Checkout we have an expiry timer, but for no-js checkout, or callbacks in general, we should recalculate the price and apply that amount instead, if the callback was received after the time_period
specified in settings to protect against bad practices in No JS Checkout.
To support this, we'll need a timestamp column to store the datetime of transaction initiation so that it can be compared.