cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Shipping Methods and Shipping Costs

Contributor

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:

 

  ["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?

1 REPLY 1
Contributor

Re: Hide Shipping Methods and Shipping Costs

Any idea?