问题描述
我在我的android项目上集成了条带。我知道你可以使用它生成stripetoken for card。
I am integrating stripe on my android project. I know that you can generate stripetoken for card using this.
Card card = new Card("4242424242424242", "12", "2014", "123");
Stripe stripe = new Stripe("pk_test_6pRNASCoBOKtIshFeQd4XMUh");
stripe.createToken(
card,
new TokenCallback() {
public void onSuccess(Token token) {
// Send token to your server
}
public void onError(Exception error) {
// Show localized error message
Toast.makeText(getContext(),
error.getLocalizedString(getContext()),
Toast.LENGTH_LONG
).show();
}
}
)
我正在使用来自github的库
I am using their stripe-android library from github
那么如何为BankAccount生成stripeToken?
So How can I generate stripeToken for BankAccount?
我似乎无法在谷歌上找到任何关于此的例子。
I can't seem to find any example on google about this.
谢谢!
推荐答案
没办法让客户直接从银行帐户付款,因此没有API可以使用银行详细信息创建付款令牌LS。也许您正在考虑''产品,该产品可让您通过银行详细信息设置收件人并进行转帐 to 他们(例如,支付收入)。
There isn't a way to have customers pay directly from a bank account, so there's no API to create a payment token using bank details. Maybe you're thinking of the 'Marketplaces' product which let's you setup recipients with bank details and make transfers to them (eg, to pay out earnings).
这篇关于使用android从stripe生成银行帐户令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!