Im trying to create an order in Magento 2 programmatically and able to do with "checkmo" method. But I need to update the payment method with paypal and its transaction details. I have the trans details which processed the payment via Paypal API.
If anyone can help me, it would be great. Thankyou.