0

我找不到任何东西,如何在 Klarna 应用程序上实施 PayPal 付款选项,在他们的网站上他们有 PayPal 按钮,但是当我运行结帐沙箱 api 时,我没有得到按钮......(https ://api.playground.klarna.com/checkout/v3/ )这是我对https://api.playground.klarna.com/checkout/v3/orders的发布请求

{
    "purchase_country": "DE",
    "purchase_currency": "EUR",
    "locale": "de-DE",
    "order_amount": 50000,
    "order_tax_amount": 4545,
    "order_lines": [
        {
            "type": "physical",
            "reference": "19-402-USA",
            "name": "Red T-Shirt",
            "quantity": 5,
            "quantity_unit": "pcs",
            "unit_price": 10000,
            "tax_rate": 1000,
            "total_amount": 50000,
            "total_discount_amount": 0,
            "total_tax_amount": 4545
        }
        ],
    "merchant_urls": {
        "terms": "https://www.example.com/terms.html",
        "checkout": "https://www.example.com/checkout.html",
        "confirmation": "https://www.example.com/confirmation.html",
        "push": "https://www.example.com/api/push"
    },
    "external_payment_methods": [
    {
        "name": "PayPal",
        "redirect_url": "https://paypal.com/"
    }
    ]
}

还是实时环境中的贝宝自动启用或可以在仪表板中启用?

4

0 回答 0