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

X-Payments Connector Making a test transaction

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 06-21-2012, 08:28 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default X-Payments Connector Making a test transaction

I have made it through step 7 on the X-Payments Connector instruction page but then it says,

Making a test transaction

To test the module settings and connection with X-Payments click the Test module button. If the module is configured properly, a 'Test transaction successfully completed' message is displayed at the top of the page.
http://help.x-cart.com/images/b/b2/Xp-test_transaction.gif

Where is the test module button located? I do not have this on the modules/X-Payments Connector/Configure page?


Thanks

Update: Got it figured out, I had to update my language variables
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #2  
Old 06-21-2012, 09:51 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default Re: X-Payments Connector Making a test transaction

If you go to Settings, Payment Configuration and then click on the payment you get to the configuration screen. For me this is paypal and I get options like API Access Username.

The Test Transaction button is near the top to the right of the configuration name.


That said, it gives me an error when I click on it anyway.
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #3  
Old 06-21-2012, 10:27 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default Re: X-Payments Connector Making a test transaction

I was able to do the test successfully an finish with all the setup instructions.

After everything was setup I made a test order and reached the "Shipping and Payment" page, chose "X-Payments: Sage Pay Go - Direct Interface", clicked continue which brought me to the "Place Order" page which had no where to put in card information, clicked "Submit Order" which brought me to an error page with the following message.

Quote:
Order processing error !
Payment processor declined your order.
Please review your data and try again.
Reason: Internal error

I checked my error logs and found the following error message.

Quote:
[21-Jun-2012 18:48:42] (shop: 21-Jun-2012 18:48:42) PAYMENTS message:
Payment processing failure.
Login: xxxxx
IP: xxxxxxxxxxx
----
Payment method: X-Payments: Sage Pay Go - Direct Interface (X-Payments: Sage Pay Go - Direct Interface)
bill_output = Array
(
[cvvmes] => not set /
[code] => 2
[billmes] => Internal error
)
original_bill_output = Array
(
[cvvmes] => not set /
[code] => 2
[billmes] => Internal error
)
Request URI: /payment/payment_cc.php
Backtrace:
/home/mysite/public_html/payment/payment_ccmid.php:254
/home/mysite/public_html/payment/payment_ccend.php:41
/home/mysite/public_html/payment/payment_cc.php:203

Any idea what may be wrong and why I was never directed to a page to enter card details in during the checkout process?

Thanks
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #4  
Old 06-21-2012, 10:35 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default Re: X-Payments Connector Making a test transaction

I'm having a different error, so can't help you I'm afraid.
But I'm curious how you imported the payment settings into xcart?
I couldn't find the option and don't have x-payment as a payment option in xcart.
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #5  
Old 06-21-2012, 10:46 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default Re: X-Payments Connector Making a test transaction

Quote:
Originally Posted by gblair
But I'm curious how you imported the payment settings into xcart?
I couldn't find the option and don't have x-payment as a payment option in xcart.

There is (or should be) a button on your X-Payments Connector options page.
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #6  
Old 06-21-2012, 11:10 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default Re: X-Payments Connector Making a test transaction

This screen? (attached)
Attached Images
File Type: jpg config.jpg (31.3 KB, 16 views)
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #7  
Old 06-21-2012, 11:43 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default Re: X-Payments Connector Making a test transaction

Quote:
Originally Posted by gblair
This screen? (attached)

Yeah your missing options. Try going to your store admin/Languages/english and scroll down toward the end of the page right before "Add new entry" and click the "Update All" button, then go back and check if the options are there in xpayments configuration.
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #8  
Old 06-21-2012, 11:59 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default Re: X-Payments Connector Making a test transaction

mmmm, no change.
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #9  
Old 06-22-2012, 12:14 AM
 
joss joss is offline
 

X-Cart team
  
Join Date: Feb 2009
Posts: 60
 

Default Re: X-Payments Connector Making a test transaction

Please check the X-Payments logs at <xpay-dir>/var/log/api/%%DATE%%/ directory, the information regarding the Internal error should be contained there.
__________________
joss@x-cart.com
Reply With Quote

The following user thanks joss for this useful post:
photo (06-22-2012)
  #10  
Old 06-22-2012, 01:03 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default Re: X-Payments Connector Making a test transaction

Quote:
Originally Posted by joss
Please check the X-Payments logs at <xpay-dir>/var/log/api/%%DATE%%/ directory, the information regarding the Internal error should be contained there.

Thanks Joss, below is the info.

Quote:
ERROR [2012-21-06 23:29:29]
User: shopping cart (xxxxxxx); IP: xx.xxx.xx.xxx
Zone: VSNode
Code: EMPTY_STRING (1521)
Data validation error, node "cart[shippingAddress][state]": Passed string is empty (value: '')

Affected systems: VSNode/Base/Node.php file (124:assert); VSNode/Base/String.php file (83:assert); VSNode/StringLimit.php file (83:validate); VSNode/Base/Array.php file (97:validate); VSNode/ArrayKeyString.php file (53:validate); VSNode/Base/Array.php file (97:validate); VSNode/ArrayKeyString.php file (53:validate); VSNode/Base/Array.php file (97:validate); VSNode/ArrayKeyString.php file (53:validate); Transport/ValidationSchema.php file (111:validate); Transport/Request.php file (231:validate); Core/Handler.php file (460:getData); Core/Handler.php file (174:revalidateData); Core/Handler.php file (556:validateData); Core/Dispatcher.php file (146:__construct); Application.php file (156:dispatch); /home/mysite/public_html/xp/api.php file (26:run)

Also, during checkout I am never directed to the xpayment payment page to provide card details.
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions



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 11:31 AM.

   

 
X-Cart forums © 2001-2020