0

Version: Drupal Commerce 2.x.

I am creating orders programatically by following the instruction from the documentation. I looked for various resources but couldn't find any way to link payment with the orders created programatically. Is there a way to create payment instance and link it to order.

2
  • Payments have a required order_id field, that's the only thing needed. – Bojan Zivanovic Sep 27 '19 at 14:11
  • Thank you for your help – Aves2432 Sep 30 '19 at 12:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.