Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Cannot recharge card
 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 05-11-2017, 11:24 AM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 168
 

Default 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!
__________________
X-Cart version 4.7.9
Reply With Quote
  #2  
Old 05-11-2017, 11:24 PM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,094
 

Default 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).
__________________
Sincerely yours,
Alex Mulin
VP of business development for X-Cart
X-Payments project manager
Reply With Quote
  #3  
Old 05-12-2017, 03:21 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,094
 

Default Re: Cannot recharge card

Jeff, patch emailed via your HelpDesk account.
__________________
Sincerely yours,
Alex Mulin
VP of business development for X-Cart
X-Payments project manager
Reply With Quote

The following 2 users thank ambal for this useful post:
cherie (05-12-2017), joestern (05-18-2017)
  #4  
Old 05-12-2017, 09:27 AM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 168
 

Default Re: Cannot recharge card

Patch worked; thank you!
__________________
X-Cart version 4.7.9
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:17 AM.

   

 
X-Cart forums © 2001-2018