Developer forum

Forum » Development » Capture order API

Capture order API


Reply
Hi,

Is it possible to somehow hook up with Quickpay and capture orders without going through dynamicweb backend or Quickpay backend?

Does the DW-Api support something like this? 

I have a customer who gets shipment and ordre handling done from a third partner. If this partner could capture the money the moment they send the order it would be optimal.

Any ideas or suggestions?


Replies

 
Reply

You should be able to do that by creating a web service or aspx/ashx with a few lines of code.

Something like this:

public OrderCaptureInfo Capture(string orderID)
{
Order order = Order.Create(orderID);
OrderCaptureInfo info = order.Capture();
return info;
}

BR.
Morten

 

You must be logged in to post in the forum