【问题标题】:Venmo - Braintree payment - Server IntegrationVenmo - Braintree 支付 - 服务器集成
【发布时间】:2013-06-19 07:03:28
【问题描述】:

使用 Venmo Touch,我会进行客户端验证并将加密的信用卡详细信息发布到我们的应用程序服务器。

应用服务器在 post 方法中检索参数,并将检索到的参数发布到 Braintree 服务器。

<?php $result = Braintree_Transaction::sale(array(
'amount' => '10.00',
'credit_card' => array(
    'number' => $_POST['encrypted_card_number'],
    'expirationMonth' => $_POST['encrypted_expiration_month'],
    'expirationYear' => $_POST['encrypted_expiration_year']
),
'options' => array(
    'venmo_sdk_session' => $_POST['venmo_sdk_session']
)));?>

如果我们忽略'options'标签,支付成功。 在引入带有元素 venmo_sdk_session 的 'options' 数组时,Braintree 服务器没有响应。

我怀疑关键拼写/区分大小写的“venmo_sdk_session”。

【问题讨论】:

  • 你试过'venmo_sdk_session' =&gt; Braintree_Test_VenmoSdk::getTestSession()

标签: php ios payment braintree venmo


【解决方案1】:

问题不在代码中。

我们需要使用我们的帐户在 Braintree 网站的设置屏幕上启用 Venmo Touch,付款方式验证。

【讨论】:

    猜你喜欢
    • 2014-07-08
    • 2016-01-01
    • 2019-05-08
    • 2016-05-01
    • 1970-01-01
    • 2013-04-13
    • 2020-03-01
    • 2020-05-21
    • 2017-02-04
    相关资源
    最近更新 更多