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)
-   -   X-Payments Connector Making a test transaction (https://forum.x-cart.com/showthread.php?t=64041)

photo 06-21-2012 08:28 AM

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

gblair 06-21-2012 09:51 AM

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. :-(

photo 06-21-2012 10:27 AM

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

gblair 06-21-2012 10:35 AM

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.

photo 06-21-2012 10:46 AM

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.

gblair 06-21-2012 11:10 AM

Re: X-Payments Connector Making a test transaction
 
1 Attachment(s)
This screen? (attached)

photo 06-21-2012 11:43 AM

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.

gblair 06-21-2012 11:59 AM

Re: X-Payments Connector Making a test transaction
 
mmmm, no change.

joss 06-22-2012 12:14 AM

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.

photo 06-22-2012 01:03 AM

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.


All times are GMT -8. The time now is 03:04 AM.

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