PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.15k stars 4.8k forks source link

COD module order status change after upgrade 2.0 and translation doesn't work #28978

Closed annadumi closed 2 years ago

annadumi commented 2 years ago

Prerequisites

Describe the bug and add screenshots

Hello everyone!

I have a problem with the COD module. (https://addons.prestashop.com/en/point-of-sale-pos/24637-cash-on-delivery-cod.html#overview) Before the upgrade to 2.0, the order status for cash on delivery was "Pending". After the plugin was updated to 2.0, this status changed to "Awaiting COD validation". How can I set new orders to be "Pending" again?

Besides, the translations are in BO but in Front End are not showing at all. This is a real problem for my store.

Can you help me, please?

store1 store

Capture-ed

Thanks, Anna

Expected behavior

The customer send an order, the order should have a "pending" status, and the payment method should be translated in BO.

Steps to reproduce

  1. Custom send order
  2. The order enter in BO with the status "Awaiting Cash On Delivery validation" (Not "pending" as before)

PrestaShop version(s) where the bug happened

1.7.7.8

PHP version(s) where the bug happened

7.3.33

If your bug is related to a module, specify its name and its version

ps_cashondelivery v2.0

HanaRebaiQA commented 2 years ago

Hello @annadumi

Thanks for your report. This issue seems to be fixed with the new released version ps_cashondelivery module with this PR. Please check these comment1 and comment2.

It's a duplication of this issue #28674 Could you confirm it please ?

Thank You!

annadumi commented 2 years ago

Hello @HanaRebaiQA ,

You are right about the translations, but my client says that the status of a new order was "pending" not "Awaiting COD validation". Is this the same thing or is it something new?

Thank you! Ana

store4 screencapture-egloromania-ro-admin01-index-php-sell-orders-12053-view-2022-07-06-16_43_34

annadumi commented 2 years ago

Hello,

I noticed another bug, maybe it's just in my case, I have no idea, but the payment field in the order is empty even if in the dashboard I can see that the customer has chosen the cash on delivery payment.

screencapture-egloromania-ro-admin01-index-php-sell-orders-12124-view-2022-07-06-16_52_17 store4

Thank you! Ana

HanaRebaiQA commented 2 years ago

Hello @annadumi

When we choose the cash on delivery method, the status is correct : Awaiting Cash On delivery validation It's updated with the new module version ps_cashondelivery v2.0.0

https://user-images.githubusercontent.com/92912932/177592958-bd128a27-bdae-4d53-9259-929d36d2f673.mp4

For, the other bug, could you please use english in your shop to help us reproducing the issue ? Waiting for your feedback.

Thank You!

annadumi commented 2 years ago

Hello, Thank you for your answer and sorry for the Romanian translation. The bug is in BO, on the order page, at the section "Payment", which is empty now. In the past, here, was the payment method name. screencapture-egloromania-ro-admin01-index-php-sell-orders-12126-view-2022-07-07-09_17_02

Thank you! Ana

HanaRebaiQA commented 2 years ago

Hello @annadumi

The payment method is well added when i have updated the status (eg: payment accepted) from the Awaiting Cash On Delivery validation status on PS1778

image

Just a question, what's the Comandâ procesatâenglish status ? Could you please check again and feedback ?

Thank You!

annadumi commented 2 years ago

Hello,

Comandâ procesatâ it's a custom status, they created this status and it means Processing in progress. I saw that Prestashop already has this status, so I will change it.

Thank you! Ana

HanaRebaiQA commented 2 years ago

Hello @annadumi

Alright!

So, closing this issue as it's not a Core bug. Otherwise, if you have questions about using PrestaShop or third-party modules, or if you need help with your shop, please consider one of our support plans.

Alternatively, you can also ask for help in the community forums or in the public Slack channel.

Thank You!