XF 2.0 paypal issues - IPNs failing

loplo

Active member
Hi all.
Since we've upgraded to xf2, we're getting the following notification from paypal:

Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

http://forumurl/payment_callback.php
https://forumurl/payment_callback.php

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.

Thank you for your prompt attention to this issue.
We're using "User upgrades"
Anyone facing this issue after the upgrade?
What should I check, where should I look to fix it?
 

ozzy47

Well-known member
Which version of XF2 are you running? Check the IPN URL you have listed in PayPal to ensure it is correct.
 

loplo

Active member
We're using 2.0.2
IPN URL in correct. Is this one:
Code:
https://forum.fly-ra.com/payment_callback.php
 

ozzy47

Well-known member
There is a user upgrade transaction log that will tell you specifically what error is happening if any.

What gets me is that every request XF sends includes the correct URL and PayPal will call back to that. The URL specified in PayPal is the default URL, but XF is effectively overriding it.
 

Mackeral_Fillet

Well-known member
Code:
Action: Payment: Payment received, upgraded/extended
User:Brendan G
Upgrade: £5 Standard Forum Subscriber
Date:56 minutes ago
Transaction ID:xxxxxxxxx
Details
mc_gross    5.00
protection_eligibility    Eligible
address_status    confirmed
payer_id    xxxxxxxxx
address_street    xxxxxxxx
payment_date    02:36:41 Mar 18, 2018 PDT
payment_status    Completed
charset    windows-1252
address_zip    xxxxxxxx
first_name    xxxxxxxx
mc_fee    0.37
address_country_code    GB
address_name    xxxxxxxx
notify_version    3.9
custom    38653,1,token,38653,1521365703,f13219137637892e2f9622df9aaf328ef1f2baf5
payer_status    verified
business    xxxxxxxx
address_country    United Kingdom
address_city    xxxxxxxx
quantity    1
verify_sign    AZzquQZ-VZbutuPD5XjsbOi0XeODAkBgEtFNhtgAytbg3JQIXc-iJmd5
payer_email    xxxxxxxx
txn_id    30K23249B7008093M
payment_type    instant
last_name    xxxxxxxx
address_state    xxxxxxxx
receiver_email    xxxxxxxx
payment_fee 
receiver_id    PLNB87HR749D4
txn_type    web_accept
item_name 
mc_currency    GBP
item_number 
residence_country    GB
transaction_subject 
payment_gross 
ipn_track_id    a62353918690
_callbackIp    173.0.81.1
That is a transaction log. I've removed any personal info.
 

ozzy47

Well-known member
Ahh yes, there was this but it is kinda vague:
"Improve validation of incoming PayPal IPN calls"
 
Top