KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: vaibhav1407 on May 22, 2010, 07:45:23 am

Title: Locking of the product while the cutomer is making the payment and regiustering
Post by: vaibhav1407 on May 22, 2010, 07:45:23 am
HI,

In one of my application, I need a scenario in which I have to lock the product while the customer is making the payment and filling some kind of forms that application shows him to fill up. Scenario is like this:



My question is how to manage this block and unblock of the product for some duration. Is there any feature in the KonaKart which I can invoke using KonaKart web service or is there any best practice to do this?

Thank You

Regards,
Vaibhav Saxena
Title: Re: Locking of the product while the cutomer is making the payment and regiustering
Post by: trevor on May 22, 2010, 08:04:29 am
You could use the Admin App API call : setProductQuantity()
Title: Re: Locking of the product while the cutomer is making the payment and regiuster
Post by: vaibhav1407 on May 22, 2010, 09:22:26 am
Isn't there any built in feature in konakart. Otherwise i need to set distract quantity from product, make the update call and if exception occur re-add the quantity and add update he product again.

If i need to follow on this approach what is the best practice to do this