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

Vipps generates order duplications #97

Open
kimhf opened this issue Jun 1, 2023 · 3 comments
Open

Vipps generates order duplications #97

kimhf opened this issue Jun 1, 2023 · 3 comments

Comments

@kimhf
Copy link

kimhf commented Jun 1, 2023

When using the option to checkout with Vipps instead of the WooCommerce checkout, we occasionally end up with duplicate orders.

This issue has been reproduced in a test environment, where the payment app got stuck on the step to select shipping options (probably a separate issue), and the only option was to abort the payment. Then the initial order seems to have been canceled, and a duplication has been created.

Vipps seems to delete some of these order duplications, while others remain.

The expected behavior would be no order duplications.

@cloveras
Copy link
Contributor

cloveras commented Jun 1, 2023

Hello! Which version of the plugin? This should be fixed in the recent version, except in very rare cases. The solution may simply be to upgrade the plugin.

@cloveras
Copy link
Contributor

cloveras commented Jun 1, 2023

There is a support forum btw: https://wordpress.org/support/plugin/woo-vipps/

@iverok
Copy link
Collaborator

iverok commented Jun 1, 2023

This is probably because Vipps Checkout, like Vipps Express Checkout needs to create the order before the user pays. Then, if they abandon the order (to modify the cart etc) we need to create a new one; the old order will be cancelled and later deleted, depending on your settings.

This is not easily fixable because of the constraints mentioned, though we do want to add mitigation measures for this as much as possible.

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

3 participants