Search code examples
phplaravel-5paypalpaypal-sandboxsandbox

Paypal API after login redirects to blank screen


I have integrated Laravel Paypal Integration and followed all the steps to integrate express checkout. When I run the application it shows the following 2 screens:

Test Facilitator - Test Store 1

After login, I can only see this page and nothing more.

Test Facilitator - Test Store 2

What could be the problem any guess from anybody?

Note: This is sandbox


Solution

  • This link may be of some help to you. Make sure your sandbox account is for the US, and not India or another country. Another thing to try is making sure your "mode" is set to live in config/config.php.

    return [
        'mode' => 'live',        // Can only be 'sandbox' Or 'live'. If empty or invalid, 'live' will be used.
        'sandbox' => [
            'username' => '',       // Api Username
            'password' => '',       // Api Password
            'secret' => '',         // This refers to api signature
            'certificate' => '',    // Link to paypals cert file, storage_path('cert_key_pem.txt')
        ],
        // etc...
    ];