PP STANDARD RECEIVER EMAIL MISMATCH
Posted: Mon Sep 22, 2014 8:54 pm
I'm using OC1.5.5.1, multi-currency store.
I encountered this problem before, after reading the following thread,
http://forum.opencart.com/viewtopic.php ... l+mismatch
i made it into a mod:
<modification>
<id>disable paypal amount check fix</id>
<version>1.0</version>
<vqmver>2.3.2</vqmver>
<author>MaxD</author>
<file path="catalog/controller/payment/" name="pp_standard.php">
<operation info="disable paypal amount check">
<search position="replace" error="skip"><![CDATA[
&& ((float)$this->request->post['mc_gross'] == $this->currency->format($order_info['total'], $order_info['currency_code'], $order_info['currency_value'], false))
]]></search>
<add><![CDATA[]]></add>
</operation>
</file>
</modification>
I thought i's solved. But, it comes again:
------------------------------------------------------
2014-09-22 19:46:36 - PP_STANDARD :: IPN REQUEST: cmd=_notify-validate&mc_gross=129.42.....&payment_gross=129.42&ipn_track_id=917c09c48e183
2014-09-22 19:46:36 - PP_STANDARD :: IPN RESPONSE: VERIFIED
2014-09-22 19:46:36 - PP_STANDARD :: RECEIVER EMAIL MISMATCH! xxxxxxxx@hotmail.com
------------------------------------------------------
Yes. the amount in my store is 129.43, while in paypal it's 129.42.It's 0.01 difference.
I've checked the php file in vqchace,
vq2-catalog_controller_payment_pp_standard
That line is like this:
if ((strtolower($this->request->post['receiver_email']) == strtolower($this->config->get('pp_standard_email'))) ) {
So, the mod should be working. But, the problem is not solved.
Does anyone knows how to fix this?
Thanks.
I encountered this problem before, after reading the following thread,
http://forum.opencart.com/viewtopic.php ... l+mismatch
i made it into a mod:
<modification>
<id>disable paypal amount check fix</id>
<version>1.0</version>
<vqmver>2.3.2</vqmver>
<author>MaxD</author>
<file path="catalog/controller/payment/" name="pp_standard.php">
<operation info="disable paypal amount check">
<search position="replace" error="skip"><![CDATA[
&& ((float)$this->request->post['mc_gross'] == $this->currency->format($order_info['total'], $order_info['currency_code'], $order_info['currency_value'], false))
]]></search>
<add><![CDATA[]]></add>
</operation>
</file>
</modification>
I thought i's solved. But, it comes again:
------------------------------------------------------
2014-09-22 19:46:36 - PP_STANDARD :: IPN REQUEST: cmd=_notify-validate&mc_gross=129.42.....&payment_gross=129.42&ipn_track_id=917c09c48e183
2014-09-22 19:46:36 - PP_STANDARD :: IPN RESPONSE: VERIFIED
2014-09-22 19:46:36 - PP_STANDARD :: RECEIVER EMAIL MISMATCH! xxxxxxxx@hotmail.com
------------------------------------------------------
Yes. the amount in my store is 129.43, while in paypal it's 129.42.It's 0.01 difference.
I've checked the php file in vqchace,
vq2-catalog_controller_payment_pp_standard
That line is like this:
if ((strtolower($this->request->post['receiver_email']) == strtolower($this->config->get('pp_standard_email'))) ) {
So, the mod should be working. But, the problem is not solved.
Does anyone knows how to fix this?
Thanks.