Skip to content

Create Order programmatically, not working via cron

Create Order programmatically is not working via cron job . However I could create the order using custom controller. I’m getting below error :

The PostFinance Checkout payment transaction is not set on the quote.

Could anyone please help me to fix this issue