X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   callback unknown error (https://forum.x-cart.com/showthread.php?t=77719)

vulcan-works 03-19-2020 04:32 AM

callback unknown error
 
Got the latest version of x-payments running, getting these errors.
Using Paypal payflow api.
Also getting emails from paypal with IPN warning:

Quote:

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

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

Thanks,

PayPal


From error log:

Code:

ERROR [2020-03-19 06:40:32]
User: unknown; IP: 173.0.81.1
Zone: Controller/Callback
Code: CALLBACK_UNKNOWN (701)
Callback request is not processed

Backtrace:
  lib/XPay/Controller/Callback/Main.php file (120:assert)
  lib/XPay/Core/Controller.php file (153:actionCall)
  lib/XPay/Core/Dispatcher.php file (120:process)
  lib/XPay/Application.php file (176:dispatch)
  callback.php file (18:run)


ERROR [2020-03-19 06:44:25]
User: unknown; IP: 173.0.81.1
Zone: Controller/Callback
Code: CALLBACK_UNKNOWN (701)
Callback request is not processed

Backtrace:
  lib/XPay/Controller/Callback/Main.php file (120:assert)
  lib/XPay/Core/Controller.php file (153:actionCall)
  lib/XPay/Core/Dispatcher.php file (120:process)
  lib/XPay/Application.php file (176:dispatch)
  callback.php file (18:run)


ERROR [2020-03-19 06:54:59]
User: unknown; IP: 173.0.81.1
Zone: Controller/Callback
Code: CALLBACK_UNKNOWN (701)
Callback request is not processed

Backtrace:
  lib/XPay/Controller/Callback/Main.php file (120:assert)
  lib/XPay/Core/Controller.php file (153:actionCall)
  lib/XPay/Core/Dispatcher.php file (120:process)
  lib/XPay/Application.php file (176:dispatch)
  callback.php file (18:run)


ambal 03-19-2020 04:50 AM

Re: callback unknown error
 
That's PayPal picked up X-Payments callback script as your main X-Cart callback script and tries to use it for other (non X-Payments) PayPal transactions as well.
The solution is to specify your X-Cart callback script as the right one in your PayPal account settings. See https://help.x-cart.com/X-Cart:Enabling_Instant_Payment_Notification_%28IPN% 29_in_PayPal_account

vulcan-works 03-19-2020 08:18 AM

Re: callback unknown error
 
1 Attachment(s)
I have paypal express checkout enabled through xcart, and payflow for credit cards through x-payments.

Now when I look at the IPN history in paypal, the orders not being sent are only credit card payments.
Is it correct to use the "xcart/payment/ps_paypal_ipn.php" location for ipn url?
Will it cause problems for x-payments?
Im going to add that there does not seem to be any actual problem that I am aware of. Just these error messages.

ambal 03-20-2020 03:41 AM

Re: callback unknown error
 
It should not cause trouble for X-Payments processing as X-Payments uses its own callbacks.


Quote:

Originally Posted by vulcan-works
I have paypal express checkout enabled through xcart, and payflow for credit cards through x-payments.

Now when I look at the IPN history in paypal, the orders not being sent are only credit card payments.
Is it correct to use the "xcart/payment/ps_paypal_ipn.php" location for ipn url?
Will it cause problems for x-payments?
Im going to add that there does not seem to be any actual problem that I am aware of. Just these error messages.



All times are GMT -8. The time now is 10:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.