Post by frankleng » 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.
Last edited by frankleng on Sun Sep 28, 2014 10:35 am, edited 1 time in total.

Active Member

Posts

Joined
Sun Apr 22, 2012 5:49 pm

Active Member

Posts

Joined
Sun Apr 22, 2012 5:49 pm

Post by frankleng » Mon Sep 22, 2014 11:22 pm

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 1954 times

after.png

after.png (47.39 KiB) Viewed 1954 times


Active Member

Posts

Joined
Sun Apr 22, 2012 5:49 pm

Post by frankleng » Fri Sep 26, 2014 12:19 am

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

Active Member

Posts

Joined
Sun Apr 22, 2012 5:49 pm
Who is online

Users browsing this forum: No registered users and 29 guests