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)
-   -   Cannot recharge card (https://forum.x-cart.com/showthread.php?t=75335)

joestern 05-11-2017 11:24 AM

Cannot recharge card
 
We are using X-Payments 3.0 and X-cart 4.7.7. We also use PayFlow Pro.

We have no problems with x-payments when a customer places an initial order using a newly-entered credit card.

However, we cannot re-charge the card in any way:
1) We cannot recharge within x-payments.
2) The customer cannot re-use the card within x-cart; if they try, they get the attached error message.
3) We cannot use the x-payments API to recharge using a token.

The error is always "Transaction Failed."

In x-cart, we have saved cards turned on.

I have spoken to PayPal and they tell us the PayFlow account is configured properly. We can recharge cards from within our PayFlow admin. PayFlow supports tokenization.

PayFlow phone rep told us they do not even see the recharge transaction--it's not ever hitting their servers.

This appears to be the error we are getting:

Code:

[11-May-2017 19:19:35 UTC] PHP Notice:  Undefined property: XPay_Model_Payment::$getActiveToken in /var/www/html/xpayments/lib/XPay/Module/PayflowPro.php on line 278
[11-May-2017 19:19:35 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getData() on null in /var/www/html/xpayments/lib/XPay/Module/PayflowPro.php:278
Stack trace:
#0 /var/www/html/xpayments/lib/XPay/Module/PayflowPro.php(155): XPay_Module_PayflowPro->getInitRequestBody(Object(XPay_Transport_GatewayRequest))
#1 /var/www/html/xpayments/lib/XPay/Core/Module.php(1165): XPay_Module_PayflowPro->getRequest(Object(XPay_Transport_GatewayRequest))
#2 /var/www/html/xpayments/lib/XPay/Model/Base/Module.php(210): XPay_Core_Module->processRequest(Object(XPay_Transport_GatewayRequest))
#3 /var/www/html/xpayments/lib/XPay/Model/Module.php(117): XPay_Model_Base_Module->__call('processRequest', Array)
#4 /var/www/html/xpayments/lib/XPay/Model/PaymentConf.php(883): XPay_Model_Module->__call('processRequest', Array)
#5 /var/www/html/xpayments/lib/XPay/Model/PaymentConf.php(1004): XPay_Model_PaymentConf->processPaymentProcess(Object(XPay_Transport_GatewayRequest))
#6 /var/www/html/xpayments/lib/XPay/Model/Payment.php(1898): XPay_Model_PaymentConf->processPa in /var/www/html/xpayments/lib/XPay/Module/PayflowPro.php on line 278


If you have any suggestions, we'd greatly appreciate the help.

Thanks!

ambal 05-11-2017 11:24 PM

Re: Cannot recharge card
 
Hi Jeff,

We researched the issue (thank you for sharing so many details, this did help us) and found a bug in our software. It has been already fixed and the fix is now waiting for internal testing. We are finalizing XP v3.1 now where the fix is going to be included, but if you need a patch before we release XP v3.1.0 we can share it with you via your Helpdesk account at https://secure.x-cart.com (just post a ticket about that with "Attn for Alex Mulin" as subject).

ambal 05-12-2017 03:21 AM

Re: Cannot recharge card
 
Jeff, patch emailed via your HelpDesk account.

joestern 05-12-2017 09:27 AM

Re: Cannot recharge card
 
Patch worked; thank you!


All times are GMT -8. The time now is 07:53 PM.

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