Our UCommerce site (in beta) is currently set up to perform payment authorisation with offline settlement within 30 days. This means that orders within the website need to be manually updated from New Order / Authorised to a Completed Order /Settled after the payment is settled with the payment service provider.
1. ) Is there any way of hooking the change status event that occurs in the /umbraco/ucommerce/orders/editorder.aspx view so that we can perform the settlement from within UCommerce interface. This would provide a 1 step process and help avoid human error.
2. ) As an alternative, could we customise the editorder view to add this functionality. If so, would future updates potentially overwrite the modification.
uCommerce admin supports this. Each time an order changes from one status to another a pipeline is executed. If you hook into the pipeline you can do the settlement there.
It can. Pipelines are triggered whenever the order status changes in the backend. Notice how you can add a pipeline name to each order status. If present the pipeline with that name is executed.
Payment settlement
Our UCommerce site (in beta) is currently set up to perform payment authorisation with offline settlement within 30 days. This means that orders within the website need to be manually updated from New Order / Authorised to a Completed Order /Settled after the payment is settled with the payment service provider.
1. ) Is there any way of hooking the change status event that occurs in the /umbraco/ucommerce/orders/editorder.aspx view so that we can perform the settlement from within UCommerce interface. This would provide a 1 step process and help avoid human error.
2. ) As an alternative, could we customise the editorder view to add this functionality. If so, would future updates potentially overwrite the modification.
Hi James,
uCommerce admin supports this. Each time an order changes from one status to another a pipeline is executed. If you hook into the pipeline you can do the settlement there.
Please see Understanding uCommerce Order Statuses for more details.
Thanks again Søren. Hoped that it could be achieved with pipelines somehow. Very useful post from Lasse.
It can. Pipelines are triggered whenever the order status changes in the backend. Notice how you can add a pipeline name to each order status. If present the pipeline with that name is executed.
is working on a reply...