[PayPal Express] Hide Shipping Methods and Shipping Costs

How can I hide the Shipping Methods when redirecting a user to PayPal Express?
Those are the parameters I send to PayPal (via the oepaypal module):

  ["CALLBACKVERSION"]=>
  string(4) "84.0"
  ["LOCALECODE"]=>
  string(5) "de_DE"
  ["SOLUTIONTYPE"]=>
  string(4) "Mark"
  ["BRANDNAME"]=>
  string(8) "Foo"
  ["CARTBORDERCOLOR"]=>
  string(0) ""
  ["RETURNURL"]=>
  string(168) "..."
  ["CANCELURL"]=>
  string(111) "..."
  ["PAYMENTREQUEST_0_PAYMENTACTION"]=>
  string(4) "Sale"
  ["CALLBACK"]=>
  string(158) "..."
  ["CALLBACKTIMEOUT"]=>
  int(6)
  ["NOSHIPPING"]=>
  string(1) "2"
  ["PAYMENTREQUEST_0_AMT"]=>
  string(4) "1.19"
  ["PAYMENTREQUEST_0_CURRENCYCODE"]=>
  string(3) "EUR"
  ["PAYMENTREQUEST_0_ITEMAMT"]=>
  string(4) "1.25"
  ["PAYMENTREQUEST_0_DESC"]=>
  string(50) "..."
  ["PAYMENTREQUEST_0_CUSTOM"]=>
  string(50) "..."
  ["MAXAMT"]=>
  string(5) "32.25"
  ["L_PAYMENTREQUEST_0_NAME0"]=>
  string(12) "Gesamtsumme:"
  ["L_PAYMENTREQUEST_0_AMT0"]=>
  string(4) "1.25"
  ["L_PAYMENTREQUEST_0_QTY0"]=>
  int(1)

This results in an error from PayPal: “Flat-rate shipping options are missing; you must specify flat-rate shipping options when you specify a callback URL.”

If I pass 0 as shipping costs, the shipping costs are shown as “0.00” - but I want to hide them entirely.

How’s that possible?

Check PayPal api documentation if there is an option for hiding shipping costs, then if there is one, you can search for it in source code and set the value you want.