【问题标题】:Want to send details of ordered items with braintree payment想通过braintree付款发送订购物品的详细信息
【发布时间】:2016-04-09 11:37:36
【问题描述】:

我正在尝试找到一种方法来添加付款中订购的产品的详细信息,以便购买的商品出现在 Braintree 仪表板上的订单中。

我肯定遗漏了一些非常明显的东西,我猜肯定有一个“产品”或“订单”数组与交易数组一起发送,但找不到任何暗示。

干杯

更新//

<?php
$result = Braintree_Transaction::sale([
    'amount' => '100.00',
    'paymentMethodNonce' => nonceFromTheClient,
    'customFields' => [
        'custom_field_one' => 'custom value',
        'custom_field_two' => 'another custom value'
    ]
]);
?>

我可以使用“customFields”参数来处理订单详情,但仍想知道是否有人知道预设数组?

【问题讨论】:

    标签: php paypal e-commerce braintree


    【解决方案1】:

    全面披露:我在 Braintree 工作。

    没有用于存储有关在特定交易中购买了哪些产品的详细信息的预设数组。要从 Braintree 控制面板访问此信息,您必须使用 customFields。

    【讨论】:

      猜你喜欢
      • 2021-09-17
      • 2019-04-29
      • 2021-09-08
      • 2015-01-28
      • 2018-09-14
      • 2018-02-16
      • 2014-04-24
      • 2015-04-24
      • 1970-01-01
      相关资源
      最近更新 更多