omise / omise-magento

Omise Magento Plugin
https://docs.opn.ooo/magento-plugin
MIT License
34 stars 19 forks source link

Can't complete place order in Magento 2.3.1 & PHP 7.2 #245

Closed congbk2910 closed 4 years ago

congbk2910 commented 4 years ago

I try to complete place order with Internet Banking or Credit/Debit Cart but it's always return "Transaction has been declined. Please try again later.

omise-issue

jacstn commented 4 years ago

Hi @congbk2910

Could you please try with order value bigger then 20 thb?

congbk2910 commented 4 years ago

Hi @congbk2910

Could you please try with order value bigger then 20 thb?

I have tried but still get the same error :( omise-issue-2

jacstn commented 4 years ago

thanks... could you please check what is in your logging directory? /var/logs

and post files here

jacstn commented 4 years ago

also, did you install plugin via composer or manually?

congbk2910 commented 4 years ago

In debug.log [2020-03-17 10:22:49] main.CRITICAL: Payment Error: currency is currently not supported [] []

I think it come from my fault when i change this code in omise-offsite-internetbanking-method.js line 94 return this.getOrderCurrency().toLowerCase() === 'thb' && this.getStoreCurrency().toLowerCase() === 'thb'; to return this.getOrderCurrency().toLowerCase() === 'thb';

But when try with original source it always show 'Option available only for orders in THB' while currency is THB & currency symbol is ฿. Maybe it come from my config in admin not correct :(. Can you have me to check this? Thanks!

omise-issue-3

congbk2910 commented 4 years ago

also, did you install plugin via composer or manually?

I install via composer

congbk2910 commented 4 years ago

I have resolved my issue. It come from my fault. Sorry to disturb,I will close this issue. Thank you so much.