Re: Re: Re: Re: Re: Re: adrian_arg wrote: Is it

adrian_arg's picture
Offline
Joined: 08/05/2009
Juice: 20
Re: Re: Re: Re: Re: Re: adrian_arg wrote: Is it

as of this post what i have is this:

//create order
$order=uc_order_new();
//add product
uc_order_product_save($order->order_id, $product);
//recreate order obj with the product
$order=uc_order_load($order->order_id);
//save order with product to database
uc_order_save($order);

this will be in the validate op incase there will be payment problems the account wont be created.

this creates an order adds a product then reloads the order obj (now with a product) and saved the order with a product to the db.

Now my problem is how to process the payment for it.
Please let me know if you guys have suggestions.