Open fraizor opened 3 years ago
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
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