By Erik Bender on Friday, 06 October 2017
Posted in Payment Gateways
Replies 30
Likes 0
Views 1.6K
Votes 0
Hi,

Since 2-3 month I have a big issue with Payplans, when a user pay with Paypal sometime about 1 for every 3 times I get an Error log generated with message: Invalid IPN. I have just updated Payplans to the latest version but it did not fix the issue.
Error log is enclosed to this message.

My IPN url is perfectly set in Paypal since many years and I don't think the issue come this.

My IPN url :
http://www.rikoooo.com/index.php?option=com_payplans&view=payment&task=notify
Set on : Receive IPN messages (Enabled)

You can login to my back-end as administrator and have a look.

Thank you for your help

Erik
Hello,

I checked your site and found that this issue is not coming for every user, so there is some issue in notification data coming for that user. I have checked with one user for which this error is coming, later received proper notification and invoice is marked as paid.
See attached screen shot.

Please cross check it and update me.
·
Friday, 06 October 2017 11:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Yes invoice is marked as paid because I did it manually when I found out there was an error with IPN, I have no choice, the user has paid for his plan.

But this is not the solution to my issue right ? I cannot manually enable the subscription everytime.

So please help me to find a fix

Thank you
·
Friday, 06 October 2017 12:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Actually one transaction is created for successfully added transaction with paypal notification.After you manually done notification comes again and recorded which is valid.

It's coming for specific user's not for all user's, can you confirm with paypal team that why we are getting invalid ipn.
Update me.
·
Friday, 06 October 2017 12:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I have contacted Paypal, I will let you know soon as I get a reply (probably tomorrow)

Thanks
·
Friday, 06 October 2017 21:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Erik, keep us updated on this.
·
Saturday, 07 October 2017 01:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Sorry for the long delay. Actually since I sent a message to the support of PayPal the issue has been fixed from PayPal side but they never replied to me.

It was all good so far till today .

I have updated PayPal gateway to the latest version today and since then I get an error IPN log on every purchase :

Message: Error Occurred in Paypal Payment Process
Record Id: 12472
Record Type: PayplansPayment
error_message: Array
response_data: Array

Also I have updated Curl and PHP 7.1 on my server at the same time .

Could you help me to resolve this issue please ?

Thank you

Regards
·
Tuesday, 05 December 2017 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Erik,

I have tried to login in your site backend but credentials not working.
Please provide me admin details again as well as ftp details,so i'll check this issue.
·
Tuesday, 05 December 2017 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi again,

Ok I have updated site credentials you can now login

No FTP for now .

Thank you
·
Tuesday, 05 December 2017 18:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

We are working on this issue , will update you soon.
·
Tuesday, 05 December 2017 21:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

The log file says invalid receiver email (we have already fixed this error and it's at your site also.)
Please enable paypal app and try to complete one payment .
Let me know if still issue not resolved.
·
Wednesday, 06 December 2017 11:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Thank you, I have enabled the app, waiting now for a payment to come thrus.

I will let you know

Thanks
·
Wednesday, 06 December 2017 12:01
·
0 Likes
·
0 Votes
·
0 Comments
·
ok
Keep me updated on this. .
·
Wednesday, 06 December 2017 12:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

No difference . Still same error message .

What's wrong ?

Thanks
·
Wednesday, 06 December 2017 15:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Can i check with sandbox account of paypal.
I need to dump the data to rectify this issue.
·
Wednesday, 06 December 2017 18:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Yes no problem, do you need to get access to my paypal sandox credentials or you will use your own ?

If your own please procceed.

Thank you
·
Friday, 08 December 2017 13:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Erik,

I have tried your sandbox account for payment but found that pending reason is multi_currency means that you have done the payment in other currency other then set in Paypal.
To enable users to pay in different currency set a currency as primary currency and enable the option- multiple currency.
https://stackideas.com/docs/payplans/administrators/payment-gateways/paypal

Please enable multi currency option and try to complete one payment in sandbox account and update me with results.
·
Friday, 08 December 2017 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Erik,

I have tried your sandbox account for payment but found that pending reason is multi_currency means that you have done the payment in other currency other then set in Paypal.
To enable users to pay in different currency set a currency as primary currency and enable the option- multiple currency.
https://stackideas.com/docs/payplans/administrators/payment-gateways/paypal

Please enable multi currency option and try to complete one payment in sandbox account and update me with results.
·
Friday, 08 December 2017 15:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok I did the necessary change,

After payment with Sandox I get the IPN error log extatly same as with Payal

Error Log Details-
° Message: Error Occurred in Paypal Payment Process
° Record Id: 12501
° Record Type: PayplansPayment
° error_message: Array
° response_data: Array
·
Friday, 08 December 2017 16:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Erik,

I have done some changes and now it's working fine.
Please check this issue again and let me know still issue persist.
·
Saturday, 09 December 2017 13:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manisha,

Yes it works now, at least with Sandbox, waiting to get a real payment to confirm.

I will let you know if it's ok with real Paypal.

Thank you very much,
·
Saturday, 09 December 2017 13:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Your Welcome

Keep me update on this issue.
·
Saturday, 09 December 2017 14:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

It's ok it works with Paypal live mode, issue resolved

Thank you very much
·
Sunday, 10 December 2017 20:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Erik,

Thanks for updating us on this and glad that the issue is resolved now
·
Sunday, 10 December 2017 20:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Could you please explain what changes was made? We have the same problem - getting Invalid IPN received from PayPal after had it working just fine for a long time. Our PayPal app is updated to latest version.
·
Monday, 11 December 2017 17:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Please find attached file and replace this file with path shown below.
root/plugins/payplans/paypal/paypal/app/paypal/paypal.php

Let me know if still issue not resolve.
·
Monday, 11 December 2017 18:38
·
0 Likes
·
0 Votes
·
0 Comments
·
I just updated the file. When the user returns after payment I get an order confirmation - no error (But it's not an invoice). Payment is still not registered, and I still see a Invalid IPN received message in backend.
·
Monday, 11 December 2017 18:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Please share admin details as well as ftp details.
·
Monday, 11 December 2017 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post