...
Conditional Parameter:
If QA or Capture on Shipment is enabled in the campaign then include intent=authorize
PayPal SDK will not work with multiple transactions. Do not use Capture on Shipment with both a physical and digital product on the order. Those will be separate transactions.
See this link for full details: https://developer.paypal.com/sdk/js/configuration/#link-configureandcustomizeyourintegration
...