Amount issue in Bankwire confirmation
Prerequisites
- [X] I understand and accept the project's code of conduct.
- [X] I have already searched in existing issues and found no previous report of this bug.
Describe the bug and add attachments
When you set the group to show the prices as tax excluded, once your order with bankwire confirmation, you get the tax included price du to this use : $totalToPaid = $params['order']->getOrdersTotalPaid() - $params['order']->getTotalPaid();
Expected behavior
Having the right amount in the bankwire details.
Steps to reproduce
- Set the group to show excluded prices
- Order with bankwire method
- See the details of amount in the payments infos.
PrestaShop version(s) where the bug happened
n/d
PHP version(s) where the bug happened
n/d
If your bug is related to a module, specify its name and its version
ps_bankwire
Your company or customer's name goes here (if applicable).
No response
I think it's normal. The amount you must pay should include tax anyway, whether it's 0% or some other amount.
FYI @PrestaShop/product-council
I couldn't find anything wrong.
Steps:
- Shopping cart: https://capture.dropbox.com/qiglWGUZnyQ0zAjk
- Bank wire confirmation: https://capture.dropbox.com/2ntxhTprcfJ9He5R
I am closing this issue, if you are sure @PrestaEdit that there is a bug somewhere, please do let me know more details.
It's seems there is something not followed there : Set the group to show excluded prices
You need to put your customer into a group that doesn't show the price with taxes.
@PrestaEdit I did, visible on the first screenshot.