简体   繁体   English

Stripe中的订阅-如果订阅付款没有成功

[英]Subscriptions in Stripe - if a subscription payment didn't pan out

I'm working on a Rails app where I'm using stripe for creating subscriptions. 我正在使用Rails应用程序,在其中使用Stripe创建订阅。 Suppose, the first month the user has been charged successfully but on the second month their bank card got expired or ran out of money and they, obviously, weren't charged. 假设用户成功收取了第一个月的费用,但是第二个月他们的银行卡已过期或没钱了,显然他们没有被收取费用。 How would I, as an admin of that Rails app, know if such the case has happened with one of my users? 作为该Rails应用程序的管理员,我怎么知道我的一位用户是否发生过这种情况?

付款后检查api的回调,必须有一些东西可以通知您的应用有关付款的信息(如果成功或失败),然后执行一些操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM