This repository will have subscription payment flow for Android platform.
-
Add Maven url for Cashfree subscription SDK in project level
build.gradle
.maven { url "https://maven.cashfree.com/release"}
-
Add sdk dependencies in app level
build.gradle
.implementation "com.cashfree.subscription:coresdk:0.0.1"
-
Register for payment result callback
CFSubscriptionPaymentService.setCheckoutCallback(this)
-
Call
doPayment
withCFSubscriptionPayment
object.CFSubscriptionPaymentService.doPayment(this, CFSubscriptionPayment(url))
Click here for more Documentation.
If you have questions, concerns, bug reports, etc, you can reach out to us using one of the following
- File an issue in this repository's Issue Tracker.
- Send a message in our discord channel. Join our discord server to get connected instantly.
- Send an email to care@cashfree.com
For general instructions on how to contribute please refer to CONTRIBUTING.