如何将PayPal集成到Klarna付款方式中

时间:2020-08-08 17:07:15

标签: json klarna

我什么都找不到,如何在Klarna App上执行PayPal付款选项,他们的网站上有PayPal按钮,但是当我运行checkout沙箱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/"
    }
    ]
}

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

0 个答案:

没有答案
相关问题