downloadable goods

Hi all,

I have a question for you guys, I hope somebody can give some help about it.



As you know CS-Cart has a default feature that after the payment has been processed (with PayPal in my case) the order become automatically “processed” and download link information automatically sent to customer.



So… what I really would like is that once the payment has been processed through PayPal, the order stays in “open” status and no emails are delivered to customer, until I manually approve the order changing its status to “processed”.



There is anybody that could help me setting CS-Cart in this way?



Any help will be HIGHLY appreciated.

Many thanks in advance.

nobody can help? :confused:

If you use PayPal (not PayPal Pro), you need to replace this code in ‘./payments/cc_processors/paypal.php’ script:


if (stristr($result, 'VERIFIED')) {
$pp_response['order_status'] = 'P';
$pp_response['reason_text'] = '';
$pp_response['transaction_id'] = @$_POST['txn_id'];
} elseif (stristr($result, 'INVALID')) {




with this one:



if (stristr($result, 'VERIFIED')) {
$pp_response['order_status'] = 'O';
$pp_response['reason_text'] = '';
$pp_response['transaction_id'] = @$_POST['txn_id'];
} elseif (stristr($result, 'INVALID')) {




Regards,

zeke, as always, thank you.

zeke, one last question: I modified the file as you indicated above but now when I manually set the order to processed, I as admin I do not receive the invoice and download link information. Customer will receive it correctly instead.



If you could indicate me what I have to modify in order to get the normal admin copy for invoice and download link once processed manually I will really appreciate it.

zeke…? :smiley: