I'm facing one issue while splitting the order on checkout. I followed these code mentioned in the link:- https://magento.stackexchange.com/questions/196669/magento-2-split-order-for-every-item and https://github.com/magestat/magento2-split-order
Both solution is working with offline payment like check/mo, Cash on delivery, po number etc. But its not working with credit card details. Always getting error regarding credit card details.
Please suggest how can we achieve order splitting with credit card payment.