Thread tagged as: Question, Shop

Creating order = programmatically

Hi there,

I wonder if there is a way to create an order with certain parameters such as user details and products programmatically - without physically going through the checkout and without a payment, ideally with a custom status such as "unpaid".

I believe that currently, an order gets created after the payment stage. If setting it up programmatically is not that easy then perhaps there is a way to create an order before the payment stage.

Thanks a lot, Damian

Damian Drozdowicz

Damian Drozdowicz 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

The manual gateway enables you to specify which order status you wish to assign, so maybe look at that.