- 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).
############################################################################
#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,
##################
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
#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,
##################