【发布时间】:2019-04-15 23:00:13
【问题描述】:
我是 Braintree 的新手。我们可以将付款方式更新为现有订阅吗?他们是否有任何方式更新付款方式。所以 用户可以换卡订阅吗? 从braintree文档中这将起作用吗?
$result = $gateway->subscription()->update('old_subscription_id', [
'id' => 'old_subscription_id',
'paymentMethodToken' => 'new_payment_method_token'
]);
【问题讨论】: