[英]Razorpay recurring payment in Android
I am using Razorpay for the payment purpose in my Android app.我在我的 Android 应用程序中使用Razorpay进行付款。
compile project(':razorpay-android-2.0.1')
Currently, payments are working fine.目前,付款工作正常。
Now I need to implement recurring payment (Auto-renew / subscription) using Razorpay.现在我需要使用 Razorpay 实现定期付款(自动续订/订阅)。
I couldn't find any clean docs for the same.我找不到任何干净的文档。 Please feel free to update me with valuable info.
请随时向我更新有价值的信息。
Finally, I found it myself.最后,我自己找到了。
There are 3 main steps:主要有3个步骤:
But, All of these three steps are to be implemented from the backend.但是,所有这三个步骤都将在后端实现。
From the front end side (Android app) we need to do the following:从前端(Android 应用程序),我们需要执行以下操作:
FYI.仅供参考。 I used the sdk " com.razorpay:checkout:1.4.5 "
我使用了 sdk “ com.razorpay:checkout:1.4.5 ”
Happy Coding.快乐编码。
Thanks for posting the question.感谢您发布问题。 You can find the API Reference here.
您可以在此处找到API 参考。
To explain the flow in simple steps:要以简单的步骤解释流程:
Let me know if this was helpful.让我知道这是否有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.