Hi Sumit,

The order is already in created state before even hitting the payment service.
So if the payment fails and I call the createOrder service again (for 
resubmission) it will says the ordered exsist and will  not allow us to create 
the same order again. Is my understanding correct or I am doing something wrong 
here?

Do I need to update the order rather than creating ? Does ofbiz provide any 
service for updating the order?

Regards,
Prashant

-----Original Message-----
From: Sumit Pandit [mailto:sumit.pan...@hotwaxmedia.com] 
Sent: Friday, December 04, 2009 8:30 AM
To: user@ofbiz.apache.org
Cc: Sumit Pandit
Subject: Re: order re-submission !

Hi Prashant, 

During chceckout you have to provide CC information, if it fails then it does 
not allow you to proceed. And hence order can not submitted. Can you please 
reproduce it on Demo server - 
eCommerce - http://demo.ofbiz.org/ecommerce/control/main OR 
BackEnd order manager - http://demo.ofbiz.org/ordermgr/control/main

And BTW if you want to resubmit the order then please look at following 

https://demo.ofbiz.org/ordermgr/control/orderview?orderId=WSCO10000  - (user 
name/password = admin/ofbiz)
Here you can find a "New Order" button, you can place a new order from here. 

--
Thanks And Regards
Sumit Pandit



On Dec 3, 2009, at 7:18 PM, Prashant Punekar wrote:

> Hi,
> 
> Background:
> 
> -          Order is created but the payment authorization fails (may be 
> because of wrong credit card number entered).
> 
> -          The inventory gets release and the order is cancelled.
> 
> Requeirment:
> 
> -          User should be able to re-submit the same order again after 
> correcting the credit card number.
> 
> Doubts:
> 
> -          If we use the same order to be re-submitted again ofbiz will throw 
> and error saying the "Cannot create an order with same order id" because we 
> call createOrder().
> 
> Does ofbiz support Order resubmission(in the above context) OFTB ?
> 
> Regards,
> Prashant
> 
> ________________________________
> http://www.mindtree.com/email/disclaimer.html

Reply via email to