【问题标题】:Where to pass " Instructions for merchant" while creating paypal order?创建paypal订单时在哪里传递“商家须知”?
【发布时间】:2021-12-11 03:25:04
【问题描述】:

我正在寻找可以在 JS 中从客户端传递的参数,同时在 Paypal 中创建订单。

这里是示例代码

createOrder: function(data, actions) {
      return actions.order.create({
         "purchase_units": [{
            "amount": {
              "currency_code": "USD",
              "value": "100",
              "breakdown": {
                "item_total": {  /* Required when including the `items` array */
                  "currency_code": "USD",
                  "value": "100"
                }
              }
            },
            "items": getItemsArray()
      });
    },

【问题讨论】:

标签: javascript paypal


【解决方案1】:

根据最新的 Paypal 更新,此功能已被删除。

【讨论】:

    猜你喜欢
    • 2021-03-03
    • 2016-08-21
    • 2013-08-12
    • 2023-04-07
    • 2020-04-07
    • 2020-05-30
    • 2020-12-06
    • 2020-02-10
    • 2013-05-21
    相关资源
    最近更新 更多