贝宝结帐渲染按钮不一样

时间:2019-11-07 07:31:49

标签: php paypal express-checkout

我正在使用paypal checkout.js智能按钮。我只是尝试使用下面的代码

<!DOCTYPE html>

<head>
    <!-- Add meta tags for mobile and IE -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
</head>

<body>
    <!-- Set up a container element for the button -->
    <div id="paypal-button-container"></div>

    <!-- Include the PayPal JavaScript SDK -->
    <script src="https://www.paypal.com/sdk/js?client-id=sb&currency=USD"></script>

    <script>
        // Render the PayPal button into #paypal-button-container
        paypal.Buttons({

        }).render('#paypal-button-container');
    </script>
</body>

当我在代码打开编辑器上编译时,它显示 enter image description here

在我的网站上显示 enter image description here

我不知道哪个原因与众不同?我只希望它显示借记卡或信用卡按钮

0 个答案:

没有答案