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

COD payment option not showing on checkout for some cases #10

Open
fraizor opened this issue Dec 26, 2020 · 0 comments
Open

COD payment option not showing on checkout for some cases #10

fraizor opened this issue Dec 26, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@fraizor
Copy link

fraizor commented Dec 26, 2020

Describe the bug
COD payment option not showing with specific condition for multi currency stores

Prestashop version(s)
1.7.6.9

Expected behavior
Showing COD at payment options

Additional context
The issue happened when I defined a condition to disable COD for a certain cart total (above 35 OMR)

https://prnt.sc/w8zmbw

Order with OMR currency works correctly

https://prnt.sc/w8zqvl

However when a customer checkout with a less value currency (AED for example)

Then it will not show COD option for order total of 119 AED (equals 11.9 OMR) (COD) should be available but it is not showing

https://prnt.sc/w8zrka

When I try with a BHD which is same value of OMR it works correctly

https://prnt.sc/w8zrh8

Note: all of my tests was with the same item with same product price

My expectation: I think COD module is treating currencies as a float (all same value) instead of checking the conversion rate as configured in prestashop

https://prnt.sc/w8zu2w

35 OMR = 350 AED = 35 BHD

@fraizor fraizor added the bug Something isn't working label Dec 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant