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

xpayment Order processing error
 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 08-31-2012, 07:58 AM
 
spherman spherman is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 32
 

Default xpayment Order processing error

I congigured xpayment as the payment method. When I submit the order it does not give me the oportunity to add credit card info. Instead it give me the following error:


Order processing error
Order declined.
Review your data or contact the store administrator.


Reason: Internal error

Anyone have any thoughts?

Scott
__________________
Version 4.0.16
Reply With Quote
  #2  
Old 09-03-2012, 01:44 PM
 
spherman spherman is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 32
 

Default Re: xpayment Order processing error

Here is more information from the logs.

<?php die(); ?>
[03-Sep-2012 17:42:09] (shop: 03-Sep-2012 17:42:09) xpay_connector message:
X-Payments error (code: 504): Specified currency "RSD" is not allowed for payment configuration "2"
Request URI: /xcart/payment/payment_cc.php
Backtrace:
/www/clients/natureslawn.com/xcart/modules/XPayments_Connector/xpc_func.php:1847
/www/clients/natureslawn.com/xcart/modules/XPayments_Connector/xpc_func.php:1813
/www/clients/natureslawn.com/xcart/modules/XPayments_Connector/xpc_func.php:1580
/www/clients/natureslawn.com/xcart/modules/XPayments_Connector/xpc_func.php:445
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:361
/www/clients/natureslawn.com/xcart/payment/payment_cc.php:427

I ran through the setup again in xpayments and made sure that I selected the US currency and it still gave me this error. How do I fix this?

Scott
__________________
Version 4.0.16
Reply With Quote
  #3  
Old 09-03-2012, 04:07 PM
 
joss joss is offline
 

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

Default Re: xpayment Order processing error

Make sure, that the correct currency is set both in the X-Payments Connector module settings in X-Cart, and in the X-Payments settings for this payment configuration.
__________________
joss@x-cart.com
Reply With Quote
  #4  
Old 09-04-2012, 12:19 PM
 
spherman spherman is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 32
 

Default Re: xpayment Order processing error

In the Module config it only has the option for "Serbian Dinar". How do I change it?

Scott
__________________
Version 4.0.16
Reply With Quote
  #5  
Old 09-04-2012, 07:47 PM
 
joss joss is offline
 

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

Default Re: xpayment Order processing error

Actually, that setting should list all the currencies in your store. As a workaround you could modify the <xcart-dir>/modules/XPayments_Connector/xpc_func.php file as follows:


- Find this function:

-------------------
function xpc_get_currency($ref_id)
{
global $config;

return $config['XPayments_Connector']['xpc_currency'];
}
-------------------

- And modify its code so it looks like this:

-------------------
function xpc_get_currency($ref_id)
{
return 'USD';
}
-------------------
__________________
joss@x-cart.com
Reply With Quote

The following user thanks joss for this useful post:
djandn8 (11-21-2014)
  #6  
Old 09-05-2012, 12:14 PM
 
spherman spherman is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 32
 

Default Re: xpayment Order processing error

It worked with a couple test orders, but I got a complaint of an order not going throught.

This is from the order data: What does it mean? Is it related to xpayments? I'll post the var/log entry in a couple parts becase of the length limitation of your forum.

--- Advanced info ---

Message:Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
txn_id:13
AVS:
CVV:
--- Advanced info ---
Reason: Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)

_____________________________


______________
__________________
Version 4.0.16
Reply With Quote
  #7  
Old 09-05-2012, 12:15 PM
 
spherman spherman is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 32
 

Default Re: xpayment Order processing error

Here is the var/log entry part 1 of 2:


<?php die(); ?>
[05-Sep-2012 10:48:52] (shop: 05-Sep-2012 10:48:51) PAYMENTS message:
Payment processing failure.
Login: spherman
IP: 108.17.27.239
----
Payment method: Credit Card (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => e4de607a6e951567c32025d7177cc538
[code] => 2
[billmes] => Cancelled by customer
)
original_bill_output = Array
(
[sessid] => e4de607a6e951567c32025d7177cc538
[code] => 2
[billmes] => Cancelled by customer
)
_GET = Array
(
[target] => main
[token] => 9815a6237b78b680be686bccf8b69f94
[action] => cancel
[refId] => 35185
[txnId] => 877701a0fd31a9000dca1db82fa78db3
)
_POST = Array
(
)
Request URI: /xcart/payment/cc_xpc.php?target=main&token=9815a6237b78b680be686 bccf8b69f94&action=cancel&refId=35185&txnId=877701 a0fd31a9000dca1db82fa78db3
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:178
-------------------------------------------------
[05-Sep-2012 13:07:22] (shop: 05-Sep-2012 13:07:22) PAYMENTS message:
Payment processing failure.
Login: wookie42
IP: 71.197.24.149
----
Payment method: Credit Card (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => 1e29f5831f02bdeec95db8f7802dce04
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
original_bill_output = Array
(
[sessid] => 1e29f5831f02bdeec95db8f7802dce04
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
_GET = Array
(
)
_POST = Array
(
[action] => return
[refId] => 35188
[txnId] => 495a6e25a78567e99ba0889371233643
[last_4_cc_num] => 5075
[card_type] => MC
)
Request URI: /xcart/payment/cc_xpc.php
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:144
__________________
Version 4.0.16
Reply With Quote
  #8  
Old 09-05-2012, 12:17 PM
 
spherman spherman is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 32
 

Default Re: xpayment Order processing error

Here is the second part of the var/log entry: It looks like there will actually be 3 parts.

-------------------------------------------------
[05-Sep-2012 13:08:38] (shop: 05-Sep-2012 13:08:37) PAYMENTS message:
Payment processing failure.
Login: wookie42
IP: 71.197.24.149
----
Payment method: Credit Card (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => 1e29f5831f02bdeec95db8f7802dce04
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
original_bill_output = Array
(
[sessid] => 1e29f5831f02bdeec95db8f7802dce04
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
_GET = Array
(
)
_POST = Array
(
[action] => return
[refId] => 35189
[txnId] => a2abbc2b24730c0ad01da415f36c5209
[last_4_cc_num] => 5501
[card_type] => VISA
)
Request URI: /xcart/payment/cc_xpc.php
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:144
-------------------------------------------------
[05-Sep-2012 14:00:03] (shop: 05-Sep-2012 14:00:03) PAYMENTS message:
Payment processing failure.
Login:
IP: 12.239.7.51
----
Payment method: Credit Card (on next page) (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => c21748f4f29cba238ae230229da34cae
[code] => 2
[billmes] => Cancelled by customer
)
original_bill_output = Array
(
[sessid] => c21748f4f29cba238ae230229da34cae
[code] => 2
[billmes] => Cancelled by customer
)
_GET = Array
(
[target] => main
[token] => 9896fcec9542946cc322f3c57cd27fe7
[action] => cancel
[refId] => 35192
[txnId] => 903cc6462f5fdb8e110814febb4a084d
)
_POST = Array
(
)
Request URI: /xcart/payment/cc_xpc.php?target=main&token=9896fcec9542946cc322f 3c57cd27fe7&action=cancel&refId=35192&txnId=903cc6 462f5fdb8e110814febb4a084d
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:178
-------------------------------------------------
[05-Sep-2012 14:01:46] (shop: 05-Sep-2012 14:01:46) PAYMENTS message:
Payment processing failure.
Login:
IP: 12.239.7.51
----
Payment method: Credit Card (on next page) (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => c21748f4f29cba238ae230229da34cae
[code] => 2
[billmes] => Cancelled by customer
)
original_bill_output = Array
(
[sessid] => c21748f4f29cba238ae230229da34cae
[code] => 2
[billmes] => Cancelled by customer
)
_GET = Array
(
[target] => main
[token] => 1e1d25b1cc4d8e312eef2263e9cb32d9
[action] => cancel
[refId] => 35194
[txnId] => b13fc68acf0372d7a50b3140b902cedd
)
_POST = Array
(
)
Request URI: /xcart/payment/cc_xpc.php?target=main&token=1e1d25b1cc4d8e312eef2 263e9cb32d9&action=cancel&refId=35194&txnId=b13fc6 8acf0372d7a50b3140b902cedd
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:178
-------------------------------------------------
[05-Sep-2012 14:09:38] (shop: 05-Sep-2012 14:09:37) PAYMENTS message:
Payment processing failure.
Login:
IP: 75.81.197.249
----
Payment method: Credit Card (on next page) (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => b05466f789371f4477b59643a012830a
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
original_bill_output = Array
(
[sessid] => b05466f789371f4477b59643a012830a
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
_GET = Array
(
)
_POST = Array
(
[action] => return
[refId] => 35196
[txnId] => bc7b84941eac11aeaee854acfa12edeb
[last_4_cc_num] => 1330
[card_type] => VISA
)
Request URI: /xcart/payment/cc_xpc.php
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:144
-------------------------------------------------
[05-Sep-2012 14:13:33] (shop: 05-Sep-2012 14:13:33) PAYMENTS message:
Payment processing failure.
Login:
IP: 75.81.197.249
----
Payment method: Credit Card (on next page) (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => b05466f789371f4477b59643a012830a
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
original_bill_output = Array
(
[sessid] => b05466f789371f4477b59643a012830a
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
_GET = Array
(
)
_POST = Array
(
[action] => return
[refId] => 35197
[txnId] => c7068b94d0b7a38b026a20262c1effa0
[last_4_cc_num] => 1330
[card_type] => VISA
)
Request URI: /xcart/payment/cc_xpc.php
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:144
-------------------------------------------------
[05-Sep-2012 14:41:23] (shop: 05-Sep-2012 14:41:23) PAYMENTS message:
Payment processing failure.
Login:
IP: 12.239.7.51
----
Payment method: Credit Card (on next page) (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => c21748f4f29cba238ae230229da34cae
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
original_bill_output = Array
(
[sessid] => c21748f4f29cba238ae230229da34cae
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
_GET = Array
(
)
_POST = Array
(
[action] => return
[refId] => 35199
[txnId] => 4c74842151e6c8fefcf4aa8dcdf86c28
[last_4_cc_num] => 1330
[card_type] => VISA
)
Request URI: /xcart/payment/cc_xpc.php
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:144
__________________
Version 4.0.16
Reply With Quote
  #9  
Old 09-05-2012, 12:17 PM
 
spherman spherman is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 32
 

Default Re: xpayment Order processing error

Here is the third and final part of the var/log entry.


-------------------------------------------------
[05-Sep-2012 15:44:08] (shop: 05-Sep-2012 15:44:07) PAYMENTS message:
Payment processing failure.
Login: wingmmark@hotmail.com
IP: 98.232.177.49
----
Payment method: Credit Card (on next page) (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => e1b892e51860013392fcc0ddde6f5704
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
original_bill_output = Array
(
[sessid] => e1b892e51860013392fcc0ddde6f5704
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
_GET = Array
(
)
_POST = Array
(
[action] => return
[refId] => 35200
[txnId] => 13d7f3a9ee6fabebc7504f0d8dedb6a1
[last_4_cc_num] => 5021
[card_type] => VISA
)
Request URI: /xcart/payment/cc_xpc.php
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:144
-------------------------------------------------
[05-Sep-2012 15:52:22] (shop: 05-Sep-2012 15:52:22) PAYMENTS message:
Payment processing failure.
Login: wingmmark@hotmail.com
IP: 12.239.7.51
----
Payment method: Credit Card (on next page) (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => 4c8722d34ed12822ccef9c8cc5724805
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
original_bill_output = Array
(
[sessid] => 4c8722d34ed12822ccef9c8cc5724805
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
_GET = Array
(
)
_POST = Array
(
[action] => return
[refId] => 35201
[txnId] => 2a62856c0b71e7ac40f72e54813acc98
[last_4_cc_num] => 5021
[card_type] => VISA
)
Request URI: /xcart/payment/cc_xpc.php
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:144
-------------------------------------------------
[05-Sep-2012 15:55:30] (shop: 05-Sep-2012 15:55:30) PAYMENTS message:
Payment processing failure.
Login: wingmmark@hotmail.com
IP: 12.239.7.51
----
Payment method: Credit Card (on next page) (X-Payments: NL Pay Pal)
bill_output = Array
(
[sessid] => 4c8722d34ed12822ccef9c8cc5724805
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
original_bill_output = Array
(
[sessid] => 4c8722d34ed12822ccef9c8cc5724805
[code] => 2
[billmes] => Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)
)
_GET = Array
(
)
_POST = Array
(
[action] => return
[refId] => 35202
[txnId] => 102b0a0d36e22940840b68995d7dd8aa
[last_4_cc_num] => 5021
[card_type] => VISA
)
Request URI: /xcart/payment/cc_xpc.php
Backtrace:
/www/clients/natureslawn.com/xcart/payment/payment_ccmid.php:457
/www/clients/natureslawn.com/xcart/payment/payment_ccend.php:52
/www/clients/natureslawn.com/xcart/payment/cc_xpc.php:144
__________________
Version 4.0.16
Reply With Quote
  #10  
Old 09-05-2012, 12:31 PM
 
joss joss is offline
 

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

Default Re: xpayment Order processing error

Thank you for the logs provided. This error seems to be a known issue in X-Cart and PayPal. Please contact our support team through the HelpDesk:

https://secure.qtmsoft.com/customer.php?area=center&target=customer_info#tab-customer_info
__________________
joss@x-cart.com
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