Jump to content

 

minitv

Member Since 07 Aug 2013
Offline Last Active Aug 24 2013 07:05 AM
-----

Posts I've Made

In Topic: Social Side Slider v2 for Cs-Cart v3

11 August 2013 - 11:01 AM

any chance you'll be making one for v4?? :grin:

In Topic: PAYPAL PRO SANDBOX TESTING

08 August 2013 - 05:33 PM

NairdaCart thanks for the reply, I am using the latest version of CS-Cart (Ver. 4). It turns out the problem was caused by a bug in the current CS-Cart version. Its been fixed on our server by doing the following. (1) removed the following part of code:

// Remove unallowed chars from cc number
if (!empty($cart['payment_info']['card_number'])) {
$cart['payment_info']['card_number'] = str_replace(array(' ', '-'), '', $cart['payment_info']['card_number']);
}

below this one:

// Save payment information
if (isset($cart['payment_info'])) {

and added the following part of code:

// Remove unallowed chars from cc number
if (!empty($cart['payment_info']['card_number'])) {
$cart['payment_info']['card_number'] = str_replace(array(' ', '-'), '', $cart['payment_info']['card_number']);
}

below this one:

$cart['parent_order_id'] = $parent_order_id;

in the fn.cart.php file located in the app/functions directory of CS-Cart installation.