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

Only one status for 2 type of completed orders (with the "accept orders for out of stock products") #65

Open
AnatoleRozan opened this issue Jun 30, 2022 · 2 comments

Comments

@AnatoleRozan
Copy link

Expected behavior
When you enable the option "accept orders for out of stock products", you have 2 type of orders :
• In stock product order => After the payement you have the status : "Payement accepted"
• Out of stock product order => After the payement you have the status : "On backorder (paid)"

But in Checkout plugin configuration, you can specify only one status for the validate order.

There are 2 automatic completed order status in Prestashop :

  • one for in stock product (Payement accepted)
  • one for out of stock product (On backorder (paid))

But the plugin "force" only one status.

Actual behavior
If I apply the default status "Payement accepted" for paid orders in Checkout plugin configuration, then for an out of stock product order you will apply the wrong status. (Payement accepted instead of On backorder (paid))

Steps to reproduce the behavior
Apply the default status "Payement accepted" for paid orders in Checkout plugin configuration.
Make an order of an out of stock product
You will have the "Payement accepted" status instead of "On backorder (paid)" status.
You should let Prestashop default functionality for paid orders.
For example it is the case of Paypal plugin.

Environment
PrestaShop version: 1.7.7.8
Checkout plugin version: 2.2.3
PHP version: 7.2.34

@AnatoleRozan
Copy link
Author

For your information, Mollie had the exact same problem : mollie/PrestaShop#381

@tamara-lemagnen
Copy link

Hi Anatole - thank you so much for bringing this to our attention, and providing such detailed description.

The issue is in our backlog, count on us to flag once it has been resolved.

Many thanks for your patience in advance!

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

No branches or pull requests

2 participants