I am having schenario where I need to split order on seller basis. Let's say if customer adds 10 products in a cart which are from 3 different seller A, B, C out of these 3 are from seller A, 3 from seller B and 4 from seller C in that case I create 3 orders which is working till now.

Now my question is how to manage payment if I am using any online payment gateway systems.

As we need to store transaction Id for these order which we need in case of refund.

Can any one please tell me the correct approach? Is it possible?

  • How can we split orders by using third-party payment gateway?(like PayPal)
    – user00247
    Commented Feb 20, 2018 at 10:20
  • stuck in the same situation, have you found the solution?
    – Hiren
    Commented Jan 31, 2019 at 11:49

1 Answer 1


Ideally: You should split the orders before they are processed, so that each one is invoiced separately and gets its own transaction ID. From a payment flow perspective, this would be similar to how the multi-shipping checkout works.

  • I am splitting order before processed but at the end we need to send only one order to gateway. Am I correct? Commented Jan 22, 2017 at 3:29

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.