I am trying to modify order items just before the order is submitted.

I have an extra field that a payment processor requires that can only be set at the moment the order is submitted.

Is there a hook or a filter I can use to do this?

I have been through the docs but have not been able to find anything suitable

  • So you actually need to add fields before the payment is triggered, not before the order is submitted (and created in the backend), correct? – Fabian Marz Oct 31 '18 at 14: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.