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

Backorder status set to (Paid) without accepted payment #349

Closed
fredoche1810 opened this issue Jun 7, 2021 · 6 comments
Closed

Backorder status set to (Paid) without accepted payment #349

fredoche1810 opened this issue Jun 7, 2021 · 6 comments

Comments

@fredoche1810
Copy link

Describe the bug
When ordering products with 0 stock or less and the option to allow orders is set to true in BO the order status is set to Backorder (unpaid) when the customer try to pay and change into Backorder (paid) when the customer failed to pay or cancel the payment.

Expected behavior
When ordering out of stock products, the correct status should be Backorder (Unpaid)

Steps to Reproduce
Steps to reproduce the behavior:

Place order with 0 stock product
Let the order go through
Select a mollie payment.
Don't pay and cancel it.
Check order status

Additional information
PrestaShop version: 1.7.7.3
Php version: 7.1.33

The same problem seems to appears with other payment modules : PrestaShop/PrestaShop#23953

Status in prestashop
image

History in Mollie
image

Thanks in advance for your help.

@Saimis777
Copy link
Contributor

Hey @fredoche1810 ,

Thank you for the message! Could you also clarify please which version of the module you are using? Have you tried firstly updating the module to 4.3.0? You can download it here - https://github.com/mollie/PrestaShop/releases/tag/4.3.0

Also, as we could not replicate this issue, we would need the shop credentials, BO logins and FTP, could you send them to the same email you've sent us earlier today?

--
Best regards,
Invertus Support team

@fredoche1810
Copy link
Author

Hey @Saimis777 ,
I was not using the latest version. I just upgrade from 4.2.4 to 4.3.0 to test it again and unfortunately it's still the same issue.
The upgrade didn't solve the problem.
I send you an mail with our credentials.
Best regards,

@Saimis777
Copy link
Contributor

Thanks for the clarification!

I've forwarded everything to the development team, will inform you once we'll find something!

--
Best regards,
Invertus Support team

@Saimis777
Copy link
Contributor

Hi @fredoche1810 ,

We found the issue and after debugging and managed to fix it. Added a fix to the your shop, you can now check it out, test it, and let us know if further help is needed, or if we can close the issue!

--
Best regards,
Invertus Support team

@fredoche1810
Copy link
Author

Hi @Saimis777,
Happy that you finally found an issue and that you have fix it.
I just made the same test as when I had a problem and now it works...
image

After cancelling the payment, the order is going to the state canceled.
I suppose you will add it in the next upgrade for everybody.
For me you can close the issue.

Best regards,

@Saimis777
Copy link
Contributor

Nice!

Yes, will add the fix.

Let us know if you need any further help!

Have a nice day!

--
Best regards,
Invertus Support team

margud pushed a commit that referenced this issue Jan 10, 2023
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

2 participants