Duplicate IPN Failure started this week and hundreds of errors

MickkD

Member
Affected version
2.0.1
Hi All,

We started getting IPN failures this week, not had any for months since I last posted a problem you guys fixed :).

These Are the traces. (I have removed some sensitive info).

############################################################################
  • XF\PrintableException: Please enter a value using 32 characters or fewer.
  • src/XF/Mvc/Entity/Entity.php:1083
  • Generated by: Unknown account
  • Jan 23, 2018 at 12:23 PM
Stack trace
#0 src/XF/Repository/Payment.php(57): XF\Mvc\Entity\Entity->save()
#1 src/XF/Payment/AbstractProvider.php(187): XF\Repository\Payment->logCallback('314187,2,token,...', 'paypal', '******************...', 'error', 'Could not find ...', Array, 'S-***********************...')
#2 payment_callback.php(67): XF\Payment\AbstractProvider->log(Object(XF\Payment\CallbackState))
#3 {main}

array(4) {
["url"] => string(21) "/payment_callback.php"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(29) {
["transaction_subject"] => string(49) "Account Upgrade: 6 Month Subscription (********)"
["payment_date"] => string(25) "04:17:40 Jan 23, 2018 PST"
["subscr_id"] => string(19) "S-84D51188FE847741P"
["last_name"] => string(7) "**************"
["residence_country"] => string(2) "IE"
["item_name"] => string(49) "Account Upgrade: 6 Month Subscription (*********)"
["payment_gross"] => string(0) ""
["mc_currency"] => string(3) "GBP"
["business"] => string(19) "******************"
["payment_type"] => string(7) "instant"
["protection_eligibility"] => string(10) "Ineligible"
["verify_sign"] => string(56) "AkCla8GdQ-.************************************************"
["payer_email"] => string(19) "********************"
["txn_id"] => string(17) ""
["receiver_email"] => string(19) "**********************"
["first_name"] => string(4) "*****"
["parent_txn_id"] => string(17) "*********************"
["payer_id"] => string(13) "**********************"
["receiver_id"] => string(13) "********************"
["reason_code"] => string(15) "***************"
["payer_business_name"] => string(15) "***************"
["payment_status"] => string(8) "***************"
["payment_fee"] => string(0) ""
["mc_fee"] => string(5) "-0.27"
["mc_gross"] => string(5) "-6.99"
["custom"] => string(73) "314187,2,token,314187,1500654887,968a052dda607c70f8a03c62cca6adeaf365ed75"
["charset"] => string(12) "windows-1252"
["notify_version"] => string(3) "3.8"
["ipn_track_id"] => string(12) "*************"
}
}

############################################################################


NOTE:

I do have a script that runs before it gets to Xenforo payment_callback.php file...

which basically sends the IPN based on vbulletin or Xenforo

IF XENFORO SUB = TRUE
SEND TO payment_callback.php

IF VBULLETIN SUB = TRUE
SEND TO payment_gateway.php (this is my custom script to directly insert subs to the database)

IPN Failures are not failing on my vbulletin custom script, they are failing on the xenforo callback php file.
Also my vbulletin custom script is actually still working well and inserting all our old vbulletin subs in.

EMAIL:

##################
Dear ******** ,

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

https://*******************/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.

Yours sincerely,
##################
 
Hi Chris,

Thanks so much, if you can help me with a patch file or something that would be great, its just paypal will disable my IPN otherwise

Thank you so much for your prompt reply.

I did search the forum for paypal to see if I could find this problem???

Thank you.

Mick
 
If you search for the exact error message you are getting, both this thread and the original bug report come up.

As per the post I linked to:

Because of the complexity of the fix, it's likely to be something that we really need to apply to your site. If you're having this error and you'd like us to apply a fix for it, please submit a ticket with FTP and ACP login details. (A full fix will be included in 2.0.2.)
 
Ok, I will do that in future search the error message :)

Whats the guestimated ETA on 2.0.2.

As I could make my script do both for now with a small amount of code to be added.

Then put it back on release of 2.0.2 :)

Thanks Chris for your prompt support.

Mick
 
Top Bottom