use createOrder method return orderID and turn off Paypal shipping at the same time, paypal buttons

how can merge this two way,
I have a need, return orderID and turn off Paypal shipping at the same time,
The First Method

createOrder: function (data, actions) {
return actions.order.create({
  purchase_units: [{
    amount: {
      value: '0.03'
    }`enter code here`
  }]
})

}

The Second Method,
orderId: 95F21375EK077912C,
this OrderId from server

createOrder: function (data, actions) {
  let orderId = "95F21375EK077912C"
  return orderId
}