Skip to content

COD into order datail: double amount "Notice € 45.80 paid instead of € 22.90" #17

@martonegg

Description

@martonegg

Hello sakgiok, hello all. i installed successfully your module on a couple of shops. Purchase process is fine, it works in frontend.
Bbut i noticed a small flaw in the order detail

Describe the bug

  • Order process il Ok
  • Into backend, into order list, I can see the amount that the customer has paid (order + fee). That's correct.
  • But into order details > Payment Tab -> COD payment method is shown 2 times. There is a news message in red that says:
    "Notice € 45.80 paid instead of € 22.90"
  • Product price is 17,5€ + Fee 5€. Customer paid 22,90, Not 45.80

It seems to be an internal message due to some setting ... but I can't figure out what it is due to.

in another prestashop store (same PS version and same module version, same configuration) I don't have the same defect. The amount in the order detail is shown only once without the red notice

Prestashop version(s)
PS version 1.7.6.9
Cash on delivery with fee (COD) PLUS v1.1.8
Template: Warehouse
Checkout module: The Checkout
Shop has multilingual (default store)
Site is multistore (2 stores)

The other comparison shop (where I do not find the defect) has the same version of the module, the same prestashop version, it is not multilingual, it is not multistore, same module settings, same theme, same checkout module

To Reproduce
Steps to reproduce the behavior:

  1. module settiings like screenshot
  2. purchase
  3. Check into order detail if the red notice happens

Expected behavior
Hide red notice -> "Notice € 45.80 paid instead of € 22.90"

Screenshots
Checkout paymento active modules
checkout-payment-module
order list
order-list
order detail/payment
order-detail
COD module configuration
module-c1
module-c2
module-c3
module-c4

Additional context
Can someone give me some tips or indication to investigate into this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions