Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Paypal Express结账-为客户提供更多详细信息_Paypal_Express Checkout - Fatal编程技术网

Paypal Express结账-为客户提供更多详细信息

Paypal Express结账-为客户提供更多详细信息,paypal,express-checkout,Paypal,Express Checkout,我将Paypal Express checkout与checkout.js一起使用 与贝宝提供的 一切正常,付款弹出窗口如下所示: 现在我的问题是:是否可以在弹出窗口中添加更多关于产品的详细信息 例如,产品的名称和描述? (此代码不起作用) 我发现paypal的文档非常凌乱。这对我很有用 transactions: [ { amount: { total: '100', currency: 'CHF' }, item_list: {

我将Paypal Express checkout与
checkout.js一起使用
与贝宝提供的

一切正常,付款弹出窗口如下所示:

现在我的问题是:是否可以在弹出窗口中添加更多关于产品的详细信息

例如,产品的名称和描述? (此代码不起作用)

我发现paypal的文档非常凌乱。

这对我很有用

transactions: [
    {
        amount: { total: '100', currency: 'CHF' },
            item_list: {
            items: [
                {
                name: 'Whateveryoufancy',
                description: 'Lorem ipsum',
                quantity: '1',
                price: '100',
                currency: 'CHF'
                }
            ]
        }
    }
]
transactions: [
    {
        amount: { total: '100', currency: 'CHF' },
            item_list: {
            items: [
                {
                name: 'Whateveryoufancy',
                description: 'Lorem ipsum',
                quantity: '1',
                price: '100',
                currency: 'CHF'
                }
            ]
        }
    }
]