Page 1 of 1

PP STANDARD RECEIVER EMAIL MISMATCH

Posted: Mon Sep 22, 2014 8:54 pm
by frankleng
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.

Re: PP STANDARD RECEIVER EMAIL MISMATCH

Posted: Mon Sep 22, 2014 10:23 pm
by frankleng

Re: PP STANDARD RECEIVER EMAIL MISMATCH

Posted: Mon Sep 22, 2014 11:22 pm
by frankleng
I think the problem might be solved with thomash2's soluton.I don't know whether there will be other error if client checkout. BUt, first, rounding problem solved.
http://forum.opencart.com/viewtopic.php ... 71#p517071
before.png

before.png (46.84 KiB) Viewed 1984 times

after.png

after.png (47.39 KiB) Viewed 1984 times


Re: PP STANDARD RECEIVER EMAIL MISMATCH

Posted: Fri Sep 26, 2014 12:19 am
by frankleng
With the mod, sometimes, the following error would come out, no matter free shipping or air mail, it seems for high cost express shipping, it's still working, but for low cost, there would be problem.:
incorrectly formatted item amount.
Image
http://forum.opencart.com/viewtopic.php?f=20&t=131470