View Single Post
  #1  
Old 10-26-2014, 01:29 PM
 
akchance akchance is offline
 

Newbie
  
Join Date: Apr 2007
Location: California, USA
Posts: 7
 

Default X-cart 4.6.5 and X-Payment 2.11 bug

I have a fresh installation for X-cart 4.6.5 and X-Payment 2.11, both residing on the same VPS.

-X-payment test successfully connected to PAYPAL PRO gateway.
-X-cart is configured successfully to connect to X-Payment 2.11.

Here are the bugs I found. See PHP warning at the end. I am using PHP 5.4.34 with Apache/2.2.29

Any idea or tips on this issue? Thank you all in advance.

PROBLEM 1: When I use a discount coupon, per say $40 off. I get the following error:

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.)



PROBLEM 2: When I don't use a coupon. A regular checkout.

Reason: Error: Invalid Data (Item total is invalid.)

ERROR LOG FROM X-cart 1:
HTML Code:
Payment method: Secure Credit Card bill_output = Array ( [sessid] => 23c5676db99d442f1c667b8cb6660d6d => 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] => 23c5676db99d442f1c667b8cb6660d6d [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] => 18462 [txnId] => 00a47a73f9b20293a79602b541cafbd4 [last_4_cc_num] => XXXX [card_type] => VISA ) Request URI: /payment/cc_xpc.php Backtrace: /home/user1/public_html/payment/payment_ccmid.php:460 /home/user1/public_html/payment/payment_ccend.php:48 /home/user1/public_html/payment/cc_xpc.php:234

ERROR LOG FROM X-cart 2
HTML Code:
---- Payment method: Secure Credit Card bill_output = Array ( [sessid] => 23c5676db99d442f1c667b8cb6660d6d [code] => 2 [billmes] => Error: Invalid Data (Item total is invalid.) ) original_bill_output = Array ( [sessid] => 23c5676db99d442f1c667b8cb6660d6d [code] => 2 [billmes] => Error: Invalid Data (Item total is invalid.) ) _GET = Array ( ) _POST = Array ( [action] => return [refId] => 18464 [txnId] => eb9a13e0fd47ec7157eaad6115683d60 [last_4_cc_num] => XXXX [card_type] => VISA ) Request URI: /payment/cc_xpc.php Backtrace: /home/user1/public_html/payment/payment_ccmid.php:460 /home/user1/public_html/payment/payment_ccend.php:48 /home/user1/public_html/payment/cc_xpc.php:234

PHP WARNINGS:
HTML Code:
[26-Oct-2014 16:51:49] Warning: Illegal string offset 'content' in /home/ayagroup/public_html/modules/Discount_Coupons/discount_coupons.php on line 140 [26-Oct-2014 16:52:51] Warning: Illegal string offset 'content' in /home/ayagroup/public_html/modules/Discount_Coupons/discount_coupons.php on line 140 [26-Oct-2014 16:54:06] Warning: usort() expects parameter 2 to be a valid callback, no array or string given in /home/ayagroup/public_html/include/lib/cssin/cssin.php on line 153 [26-Oct-2014 16:57:43] Warning: Illegal string offset 'content' in /home/ayagroup/public_html/modules/Discount_Coupons/discount_coupons.php on line 140 [26-Oct-2014 16:58:58] Warning: usort() expects parameter 2 to be a valid callback, no array or string given in /home/ayagroup/public_html/include/lib/cssin/cssin.php on line 153


NOTE: Need to update my signature. The last working x-cart store version was 4.54 with X-Payment 1.06.
Reply With Quote