Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback should take into account the time after which it was received #309

Open
thisisayush opened this issue Jan 13, 2023 · 0 comments
Open

Comments

@thisisayush
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant