您可以使用 Braintree v.zero 将信用卡详细信息存储在保险库中而不收费吗?
Can you store credit card details in the vault, without charging them, with Braintree v.zero?
使用旧的 Braintree API 可以只将信用卡详细信息存储在保险库中以便以后收费(对于可变订阅模型)。是否可以用他们的 v.zero API 来做到这一点?我看了他们的文档,并不清楚。它提到它可以使用 Paypal 帐户来完成,但我不确定这是否包括信用卡(没有 Paypal)。
完全披露:我在 Braintree 工作。如果您还有任何问题,请随时contact support.
是的!当客户在 Drop-in 中填写他们的信用卡信息时,Braintree API 会对其进行处理。完成后,the client receives the payment method (i.e. credit card) nonce which should be sent to your server. This nonce can be used for a whole variety of tasks including simply storing in the vault,就像您尝试做的那样:
result = Braintree::PaymentMethod.create(
:customer_id => "131866",
:payment_method_nonce => nonce_from_the_client
)
步骤:
- 您的客户嵌入了 Drop-in
- 用户在 Drop-in 中填写数据
- 客户端收到 Nonce
- 客户端向服务器发送Nonce
- 服务器使用随机数在保险库中创建支付方式
干杯!
使用旧的 Braintree API 可以只将信用卡详细信息存储在保险库中以便以后收费(对于可变订阅模型)。是否可以用他们的 v.zero API 来做到这一点?我看了他们的文档,并不清楚。它提到它可以使用 Paypal 帐户来完成,但我不确定这是否包括信用卡(没有 Paypal)。
完全披露:我在 Braintree 工作。如果您还有任何问题,请随时contact support.
是的!当客户在 Drop-in 中填写他们的信用卡信息时,Braintree API 会对其进行处理。完成后,the client receives the payment method (i.e. credit card) nonce which should be sent to your server. This nonce can be used for a whole variety of tasks including simply storing in the vault,就像您尝试做的那样:
result = Braintree::PaymentMethod.create(
:customer_id => "131866",
:payment_method_nonce => nonce_from_the_client
)
步骤:
- 您的客户嵌入了 Drop-in
- 用户在 Drop-in 中填写数据
- 客户端收到 Nonce
- 客户端向服务器发送Nonce
- 服务器使用随机数在保险库中创建支付方式
干杯!