Android 如何使用先前添加的卡进行多次付款?
我可以使用以下代码获得nonceAndroid 如何使用先前添加的卡进行多次付款?,android,paypal,braintree,Android,Paypal,Braintree,我可以使用以下代码获得nonce DropInResult result = data.getParcelableExtra(DropInResult.EXTRA_DROP_IN_RESULT); PaymentMethodNonce nonce = result.getPaymentMethodNonce(); String stringNonce = nonce.getNonce(); 我可以打电话付款。 1现在我想再次支付金
DropInResult result = data.getParcelableExtra(DropInResult.EXTRA_DROP_IN_RESULT);
PaymentMethodNonce nonce = result.getPaymentMethodNonce();
String stringNonce = nonce.getNonce();
我可以打电话付款。
1现在我想再次支付金额而不添加卡的详细信息,如何做到这一点?
2如何在不添加卡详细信息的情况下生成新的nonce?:“支付方法nonce是对支付信息的安全一次性引用。”
你可以。如果您这样做,nonce将被使用,并且卡数据也将随之被使用。如果您希望安全地存储卡数据以供重复使用,您可以在您的应用程序中使用nonce to
然后可以检索并使用它创建事务