learnpress icon indicating copy to clipboard operation
learnpress copied to clipboard

Rest API should include order creation and completed

Open developerslearnit opened this issue 3 years ago • 1 comments

It will be nice to have endpoints to enable external client create an order, and also update order status so that we can integrate other payment methods.

developerslearnit avatar Oct 31 '22 10:10 developerslearnit

Hi,

LP provides a "save" method on the "LP_Order" class, it is will create or update Order. "update_status" method to update status.

Thanks.

tungnxt89 avatar Dec 15 '22 02:12 tungnxt89