I am using the PHP v2 SDK and use create an order similar to the sample as below. private static function buildRequestBody() { return array( 'intent' => 'CAPTURE', 'application_context' => array( 'return_url' => 'https://myserver/demo.php', 'cancel_url' => 'https://example.com/cancel', 'brand_name' => 'brand X', 'locale' => 'en-US', 'landing_page' => 'BILLING', 'shipping_preference' => 'NO_SHIPPING', 'user_action' => 'PAY_NOW', ), 'purchase_units' => array( 0 => array( 'reference_id' => 'REF1', 'description' => 'My description', 'amount' => array( 'currency_code' => 'GBP', 'value' => '5.00', 'breakdown' => array( 'item_total' => array( 'currency_code' => 'GBP', 'value' => '5.00', ), ), ), ), ), ); } /** * This is the sample function which can be sued to create an order. It uses the * JSON body returned by buildRequestBody() to create an new Order. */ public static function createOrder($debug=false) { $request = new OrdersCreateRequest(); $request->headers["prefer"] = "return=representation"; $request->body = self::buildRequestBody(); $client = PayPalClient::client(); $response = $client->execute($request); etc And the paypal Log In blue button always appears. But sometimes the or Pay with Debit or Credit Card grey button appears but sometimes not. I want it to always appear. Is it some option of the order? Eg landing page? User action? Any help would be much appreciated. Angus
... View more