heres the function that gets called after payment has been recieved. its not right yet i dont think.. anyone help me out?
function uc_nochex_complete($cart_id = 0) {
$order = uc_order_load($_POST['order_id']);
// change order status to payment revieved
uc_order_update_status($order->order_id, 'payment_received');
// add payment details
uc_payment_enter($order->order_id, 'nochex', $_POST['amount'], 0, NULL, $comment);
uc_cart_complete_sale($order->order_id);
// Empty the cart.
uc_cart_empty($cart_id);
exit();
}Thanks
Andy



Joined: 03/27/2008