I try to create Order programmatically but that 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

  • can you please share your code
    – Rana Zain
    Commented Apr 1 at 6:41
  • Have you set payment method in quote for order ?
    – Himanshu
    Commented Apr 1 at 9:23


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.