aifaiz / ipay88-woocommerce

Malaysian ipay88 woocommerce payment gateway plugin
https://hamizulfaiz.com/post/plugin-ipay88-payment-gateway-untuk-woocommerce
GNU General Public License v3.0
13 stars 8 forks source link

After Deducting money its showing failed #9

Closed sagar-roy109 closed 6 years ago

sagar-roy109 commented 7 years ago

Everything is working fine. But after deducting money its showing order payment status failed. Can you help me please ?

aifaiz commented 7 years ago

Hi,

sorry for the late reply. could you provide more information on that? like, error logs or something related? I cant be much help since its a vague question

beeing commented 7 years ago

This is because the combined string for hashing on response is wrong. I've fixed it as below:

$combined = $this->merchantCode.$mcode.$payid.$refno.$amnt_final.$cur.$status;
MalBouq commented 7 years ago

Hello I am getting the same issue. Ipay88 says all is going well and transaction is successful (amount is debited from the account) But on my woocommerce website, it's notified as failed and instead of getting a "thank you page", the client sees this message: "Unfortunately your order cannot be processed as the originating bank/merchant has declined your transaction. Please attempt your purchase again."

iPay88 technical support says they send a successful transaction message to my website and the issue may come from AiCS plugin. Any help please? Thank you

aifaiz commented 7 years ago

hi everyone. thank you for your participation in this plugin. I had updated a small tweak on the code. it probably like @beeing mention. but when i go to the official tech spec documentation. it has to be the merchantKey first, then merchant ID and so on.

anyhow, i had done some tweak and see how it will go. reply in this issue if its not yet resolved.

Thanks AiFAiZ