登录后 Paypal API 重定向到空白屏幕

Paypal API after login redirects to blank screen

我已经集成了 Laravel Paypal Integration 并按照所有步骤集成了 express checkout。当我 运行 应用程序时,它显示以下 2 个屏幕:

登录后,我只能看到这个页面,仅此而已。

任何人猜测可能是什么问题?

注意:这是沙盒

在配置文件中:

路径:/config/config.php:(laravel-paypal

将'sandbox'更改为'live'

'mode' => 'sandbox', // 只能是'sandbox'或'live'。如果为空或无效,将使用 'live'。

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...
];