title: Paypal REST API: Unable to set landing page to billing
body: <p>I'm building a donate function for a charity using the Paypal REST API with the PHP SDK. I've been attempting to set the landing page type to 'Billing' but nothing seems to change. This is my code for defining the web experience profile (as per <a href="http://paypal.github.io/PayPal-PHP-SDK/sample/doc/payment-experience/CreateWebProfile.html" rel="nofollow">http://paypal.github.io/PayPal-PHP-SDK/sample/doc/payment-experience/CreateWebProfile.html</a>):</p>
  
  <pre><code>use PayPal\Api\FlowConfig;
  use PayPal\Api\Presentation;
  use PayPal\Api\InputFields;
  use PayPal\Api\WebProfile;
  
  $flow = new FlowConfig();
  $flow-&gt;setLandingPageType('Billing');
  
  $presentation = new Presentation();
  $presentation-&gt;setLogoImage('xxxxxxxx')
      -&gt;setBrandName('xxxxxxxx')
      -&gt;setLocaleCode('GB');
  
  $inputFields = new InputFields();
  $inputFields-&gt;setNoShipping(1)
      -&gt;setAddressOverride(0);
  
  $webProfile = new WebProfile();
  $webProfile-&gt;setName('xxxxxxxx' . uniqid())
      -&gt;setFlowConfig($flow)
      -&gt;setPresentation($presentation)
      -&gt;setInputFields($inputFields);
  
  try {
      $createProfileResponse = $webProfile-&gt;create($paypal);
  } catch (\PayPal\Exception\PayPalConnectionException $ex) {
      die($ex);
  }
  
  $profileId = $createProfileResponse-&gt;getId();
  </code></pre>
  
  <p>Then later on:</p>
  
  <pre><code>$payment = new Payment();
  $payment-&gt;setIntent('sale')
      -&gt;setPayer($payer)
      -&gt;setRedirectUrls($redirectUrls)
      -&gt;setTransactions([$transaction])
      -&gt;setExperienceProfileId($profileId);
  </code></pre>
  
  <p>The logo image comes up fine on the resulting page, so I know the ID is valid. I've also tried clearing cookies as per a suggestion I found online, but that had no effect. Thanks in advance for any advice.</p>