Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

ePay 2.0.0.8 og “The amount received from ePay did not match the order amount”
 
powerhosting.dk
Guru
 
Avatar
Total Posts:  549
Joined:  2008-10-20
 

Der er en bug i ePay modulet ver. 2.0.0.8 som i nogle tilfælde kan give : ”The amount received from ePay did not match the order amount” nÃ¥r der betales et beløb med decimaler i.  fx. 100.25 kr.

Fejlen optræder kun hvis du benytter det integrerede betalingsvindue i eget layout.

Fejlen opstår da beløbet castes med et forkert datatype, det kan heldigvis nemt rettes.
Herunder en kort forklaring.

Husk at backe up før du går igang!

Find filen ”redirect_paymentform.phtml” Den findes i ”app/design/frontend/default/default/template/epay” mappen

Ret “int” til “float” i linje 174
SÃ¥ledes linjen ser ud som flg:

<input type="hidden" name="amount" value="<?php echo ((float)$order->getTotalDue()) * 100 ?>">

Det var alt.

Vi har Ã¥bnet et ticket pÃ¥ bug’en og forventer at ePay retter fejlen til næste release af ePay betalingsmodulet.

 
Magento Community Magento Community
Magento Community
Magento Community
 
powerhosting.dk
Guru
 
Avatar
Total Posts:  549
Joined:  2008-10-20
 

Ifølge ePay skulle dette være fikset i 2.0.0.9 -> http://magentoguiden.dk/magento/pear/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top