【问题标题】:How to cancel the subscription with stripe如何使用条带取消订阅
【发布时间】:2012-06-30 13:05:27
【问题描述】:

我正在使用 c# 开发 asp.net Web 应用程序。我正在尝试使用 Stripe api 进行信用卡交易和订阅。我遵循了条纹官方站点中的文档以及 github 上提供的示例项目 XamarinStripe。现在我正在尝试取消特定客户的订阅,但我无法使用 Xamarin dll 完成它。请指导我。

【问题讨论】:

    标签: asp.net stripe-payments


    【解决方案1】:

    Stripe's website 上有说明。

    至于如何使用 XamarinStripe,单元测试为程序集has an example

    static StripeSubscription TestDeleteSubscription (StripeCustomer customer, StripePayment payment)
    {
        StripeSubscription sub = payment.Unsubscribe (customer.ID, true);
        return sub;
    }
    

    【讨论】:

    • 感谢您的回复。我想使用 xamarin.dll 文件中存在的类取消订阅,例如用 c# 编写的 stripesubscription、stripepayment 等,但我无法实现取消订阅。
    猜你喜欢
    • 2020-01-12
    • 1970-01-01
    • 2012-01-26
    • 1970-01-01
    • 2022-01-19
    • 2012-03-14
    • 1970-01-01
    • 1970-01-01
    • 2019-12-05
    相关资源
    最近更新 更多