android - 使用条带 android API 删除条带客户默认源
问题描述
我们使用 CustomerSession 设置客户默认来源
CustomerSession.getInstance().setCustomerDefaultSource(
this,
customerSource.getId(),
customerSource.getSourceType(),
listener);
但是我可以设置 null 或删除客户的默认来源吗?
解决方案
您不能通过 CustomerSession 或 PaymentSession 使用 Stripe Android SDK 删除源(以任何方式)。你需要通过你的后端来做到这一点。