Maxmind Error ! #3069

Closed
haxcop opened this Issue Jun 1, 2015 · 8 comments

Projects

None yet

5 participants

@haxcop
haxcop commented Jun 1, 2015

HI, i just create an order with paypal express and with the maxmind service active on oc2.0.3.1 and i just got this error message after the paypal process , but when i click back it shows me the successful page of paypal. any ideas?
6ee1a90d40cf66db1a6ad5993e86a836 copy

@pekka2
pekka2 commented Jun 1, 2015

Is this old code? You try line 6 in file catalog/model/fraud/maxmind.php:
$fraud_info = $this->getFraud($data['order_id']);
change to:
//$fraud_info = $this->getFraud($data['order_id']);

@haxcop
haxcop commented Jun 2, 2015

Sorry for the delay @pekka2 what do you mean "is this old code?". and also that error that i get i think will be for everyone here using oc.2.0.3.1 , have you make the pull request yet?

@pekka2
pekka2 commented Jun 2, 2015

The variable "$fraud_info" does not refer anywhere else in the whole file. It gives the impression that this line 6 is unnecessary.

@haxcop
haxcop commented Jun 3, 2015

Hi, thanks for your comments. @danielkerr Hi, can you please check this error and let us know if you are agree with or there's other Reason>? Thanks @pekka2

@mrnfrancesco
Contributor

The getFraud method was deleted in commit a0f3a11

I'll make a pull request fixing it in minutes.

@mrnfrancesco mrnfrancesco added a commit to mrnfrancesco/opencart that referenced this issue Jun 3, 2015
@mrnfrancesco mrnfrancesco Removed use of unexistent (unused) function and replaced wrong source…
… of variable value (see #3069)
c165ada
@haxcop
haxcop commented Jun 4, 2015

Hi @mrnfrancesco & @pekka2 Thanks for your Support! Now let's see if Daniel think is right or not.
Best Regards

@jamesallsup
Member

Merged.

@jamesallsup jamesallsup closed this Jun 4, 2015
@44kaine
44kaine commented Aug 23, 2015

Applied the fix provided in the commit linked to by @mrnfrancesco. Checkout now working however MinFraud returning no data for each order, just "Error: LICENSE_REQUIRED" and of course I have checked that my license is correctly entered. Rather disappointing, any ideas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment