By Andrew Neighbour on Tuesday, 23 October 2018
Posted in General Issues
Replies 16
Likes 0
Views 676
Votes 0
A recurring payment was just processed. Funds were transferred and received, but we received an invalid IPN error notice (test below).

I can't figure out why this happened and your help would be appreciated. The onl change we have made is to go live and move the site from /newsite2 to the root directory.

I'd very much appreciate your help in debugging this as we are expecting new subscribers shortly!

Many thanks,
Andrew

***********************
Error Log Details-
Message: Invalid IPN
Record Id: 44
Record Type: PayplansPayment
option: com_payplans
gateway: paypal
view: payment
task: notify
mc_gross: 14.00
invoice: 8O56WJCMAUGK
protection_eligibility: Eligible
address_status: confirmed
payer_id: CAZ6SU7CFNNGU
address_street: 8100 Evergreen Lane
payment_date: 07:38:38 Oct 22, 2018 PDT
payment_status: Completed
charset: windows-1252
address_zip: 98040
first_name: Lara
mc_fee: 0.71
address_country_code: US
address_name: Lara Sanderson
notify_version: 3.9
subscr_id: I-H88DPN4H54TW
payer_status: unverified
business: hannah@creatrix.gallery
address_country: United States
address_city: Mercer Island
verify_sign: A3CJtXeWX4g58J.4uEzwviQFZbkpAswJbgMhQfevqJ4m2Ps5Sa2l5pWv
payer_email: lara@sanderson.org
txn_id: 7N874395N5013631P
payment_type: instant
last_name: Sanderson
address_state: WA
receiver_email: hannah@creatrix.gallery
payment_fee: 0.71
receiver_id: 8UHDBFZMNN6VU
txn_type: subscr_payment
item_name: Creatrix Membership (Self Posting)
mc_currency: USD
item_number: 8O56WJCMAKDK
residence_country: US
transaction_subject: Creatrix Membership (Self Posting)
payment_gross: 14.00
ipn_track_id: 456ec66ad31f6
Itemid: 101
id: 0
payment_key: 8O56WJCMAUGK
Hello Andrew,

Your site Ftp details are not working, Can you please cross check it and update us.
So we can continue on this issue.
·
Tuesday, 23 October 2018 12:21
·
0 Likes
·
0 Votes
·
0 Comments
·
updated at the first post.

Thanks!
·
Tuesday, 23 October 2018 22:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andrew,

In case when paypal send notification to payplans then it will validate the data again by sending request to paypal, and it's sending response as invalid.

I checked the notification data at your site, it seems correct. Meanwhile have you changed any setting in paypal (when issue occurs). For this issue need to confirm with Paypal support team, they can assist us.Please write this issue to paypal support team with latest transaction id which is giving invalid ipn issue. So that we can confirm from where the issue is arising.

Update me with their response.

Thanks for understanding.
·
Wednesday, 24 October 2018 13:25
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, we checked with PayPal and found that the link was to the old site location, newsite2. That has all been changed and new membership subscriptions work fine.

However, when a prexisting subscription went to the recurred billing this morning, another error log was received (see below). The payment was processed properly, but an invalid IPN was received by the site.

This is now looking like a payplans issue, and maybe one that only applies to subscriptions that preceeded the site move when we went live.

Please make this a very high priority. Members are having their subscriptions cancelled and this makes us look very unprofessional and we may lose them.

I also want to be sure this will not happen when new full-paying members recurring payments come due!

Thank you,
Andrew

Error Log Details-
Message: Invalid IPN
Record Id: 35
Record Type: PayplansPayment
option: com_payplans
gateway: paypal
view: payment
task: notify
mc_gross: 0.01
invoice: 8O56WJCMAUEK
protection_eligibility: Eligible
address_status: confirmed
payer_id: 4QQUZUBH368MG
address_street: 20 VIA DEL VAQUERO
payment_date: 04:33:52 Nov 08, 2018 PST
payment_status: Completed
charset: windows-1252
address_zip: 87508
first_name: Philip Andrew
mc_fee: 0.01
address_country_code: US
address_name: Andrew Neighbour
notify_version: 3.9
subscr_id: I-M2USTRF4HFCB
payer_status: verified
business: hannah@creatrix.gallery
address_country: United States
address_city: SANTA FE
verify_sign: A5khRqDxrlAncvBTwFJOEBUVUPbrAA8YBgvI.Ckq0cC5HNfJXTgoFcrt
payer_email: andrewn@cnsp.net
txn_id: 6BS47555LF994531M
payment_type: instant
payer_business_name: Random Acts of Art
last_name: Neighbour
address_state: NM
receiver_email: hannah@creatrix.gallery
payment_fee: 0.01
receiver_id: 8UHDBFZMNN6VU
txn_type: subscr_payment
item_name: Creatrix Membership (Self Posting)
mc_currency: USD
item_number: 8O56WJCMAUTQ
residence_country: US
transaction_subject: Creatrix Membership (Self Posting)
payment_gross: 0.01
ipn_track_id: 6b2e354dfd028
Itemid: 101
id: 0
payment_key: 8O56WJCMAUEK
·
Friday, 09 November 2018 00:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andrew,

OK, we checked with PayPal and found that the link was to the old site location, newsite2. That has all been changed and new membership subscriptions work fine.
You have changes ipn url only right ?

In case of paypal All the details related to recurring payment sent while user signup for subscription. Then further payment process will done at paypal and send payment notification on ipn url , then the data we got from paypal need to be sent again paypal to confirm that these ipn's are valid or not.

As per your reply what i get this issue is coming for old subscribers (for all foe specific subscriptions only). process is same for old and new subscriptions. However to confirm this issue we need to get in touch with paypal team. To cross check it, can you please write this issue to paypal support team with latest transaction id which is giving invalid ipn issue and also share notification data dump in ipn log. So that we can confirm that this issue is related to code or some other configuration.

Have you already contact with paypal team, if yes please share reply with us.
Update us.
·
Friday, 09 November 2018 11:05
·
0 Likes
·
0 Votes
·
0 Comments
·
We have had exactly the same problem, which is indeed embarrassing and can lose valuable clients. The issue appears to be that the IPN url is fixed when the recurring payment is created and the same is used for future notifications even when the IPN URL is changed in PayPal.

For example, if the payment is created at http://www.domain-01.com the IPN URL in the PayPal IPN settings should be "http://www.domain-01.com/index.php?option=com_payplans&view=payment&task=notify". If the site is moved to http://www.domain-02.com the PayPal IPN should be changed to "http://www.domain-02.com/index.php?option=com_payplans&view=payment&task=notify". You would then expect the notification to be sent to the new URL at renewal, but it is not so it therefore fails. The client has been charged but incorrectly receives an email notification that the subscription has expired (because PayPlans thinks there has been no payment). We then have to apologise and manually enrol the client. Plus, when you add a transaction in PayPlans to the original invoice it doubles the subscription period!

I have raised this with the PayPal merchant support team who have apologised, wished me a nice day, and recommended that I contact the developers i.e. StackIdeas! I think they are saying that PayPlans needs to change the IPN URL.

I am trying a redirect but I am not sure that this will work. It does need an urgent fix, but I see this thread is over a month old. Hopefully StackIdeas can fix the problem. Unless it can be fixed all the recurring payments would need to be set up again.

Andrew
·
Friday, 04 January 2019 02:51
·
0 Likes
·
0 Votes
·
0 Comments
·
For example, if the payment is created at http://www.domain-01.com the IPN URL in the PayPal IPN settings should be "http://www.domain-01.com/index.php?option=com_payplans&view=payment&task=notify";. If the site is moved to http://www.domain-02.com the PayPal IPN should be changed to "http://www.domain-02.com/index.php?option=com_payplans&view=payment&task=notify";. You would then expect the notification to be sent to the new URL at renewal, but it is not so it therefore fails. T

Thanks for head up on this and provide us these information, we will try to follow your step to reproduce this issue and see if possible to fix this for good.
·
Friday, 04 January 2019 17:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks. I hope so. This is what PayPal told me:

"Unfortunately, there is no way to change the URL's for the Recurring Subscriptions that have already been created. The only way to change it would be to set up the Recurring Payments Profile again."

What is odd is that this did not happen a year ago when the first recurring payments were taken, so I do not understand why this should happen now.

Kind regards,

Andrew
·
Thursday, 10 January 2019 18:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

Thank you for sharing paypal team response with us.

https://stackideas.com/forums/invalid-ipn-error#reply-444167
According to above reply , can you please tell me you moved site to another domain with same data ?
This will help us to rectify the issue.

Update us .
·
Thursday, 10 January 2019 19:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manisha,

That is correct. It was moved from a development subdomain to the root. This is the same as the original poster (also an Andrew )
·
Thursday, 10 January 2019 20:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

Ok , so data is same only ipn url is changed.

Unfortunately, there is no way to change the URL's for the Recurring Subscriptions that have already been created. The only way to change it would be to set up the Recurring Payments Profile again.

According to paypal team reply it seems it can't possible to get payment notification of on-going recurring payments with new ipn.
I case of paypal payment method, we will send all the details regarding recurring payment when payment request initiated, further notification paypal team send us to on notify url, according to notify url payplans will activate the subscription.

Previously , it didn't see this issue that after changing ipn url payment not done. I'll contact to paypal team about this and will see how can we add this fix.

Thank you for understanding !
·
Friday, 11 January 2019 10:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Manisha. What is odd though is that this problem did not occur when the first recurring payments were made a year ago, only now. We had our new site in a subdomain initially (e.g."dev.ourdomain.com") and then moved it to the root. The IPN for a recurring payment would have been sent to "dev.ourdomain.com" but the transaction was recorded on "ourdomain.com". PayPal has said that this could happen if the subdomain was still active. It wasn't, but even if it was it makes no sense (unless I have missed something).
·
Friday, 11 January 2019 18:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

Your sub-domain is no longer active right ? How many subscription are facing this issue ?
I'll try to find out solution of this problem.
·
Friday, 11 January 2019 19:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manisha,

That is correct; the sub-domain is inactive. All of the subscriptions taken out when we first started (i.e. purchased when the site was on the sub-domain) are affected.

Kind regards,

Andrew
·
Friday, 11 January 2019 21:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

Ok, thank you for sharing these details. I'll look into this issue and will let you know.
·
Saturday, 12 January 2019 12:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post