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

Missing orders for payments made via an improper payment API #1134

Open
mgesing opened this issue Jul 1, 2024 · 0 comments
Open

Missing orders for payments made via an improper payment API #1134

mgesing opened this issue Jul 1, 2024 · 0 comments
Assignees
Milestone

Comments

@mgesing
Copy link
Contributor

mgesing commented Jul 1, 2024

In case of payment API where the payment transaction is created by the store but the payment is executed by the payment provider (e.g. PostFinance), a payment without an order may occur. The order may be lost in the very short period between payment and store redirection/order creation (e.g. by closing the browser window). This problem does not occur with payment providers (such as PayPal or AmazonPay) where transaction creation and payment execution are both carried out by the store.

One possible solution would be to create transient orders before the payment, which would then be converted into regular orders by the payment plugin in case of a success (after being returned to the store). In case of an error, the admin could check transient orders manually via the backend and convert or void them.

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

No branches or pull requests

3 participants