Skip to content

Sample demonstrating integration of Cashfree's subscription in your Android project

License

Notifications You must be signed in to change notification settings

cashfree/android-subscription-sdk

Subscription Payment For Mobile SDKs

This repository will have subscription payment flow for Android platform.

GitHub Discord GitHub last commit (branch) GitHub release (with filter) GitHub forks GitHub Repo stars

Sample Banner Image

Sample

Subscription Sample

Steps

  1. Add Maven url for Cashfree subscription SDK in project level build.gradle.

    maven { url "https://maven.cashfree.com/release"}

  2. Add sdk dependencies in app level build.gradle.

    implementation "com.cashfree.subscription:coresdk:0.0.1"

  3. Register for payment result callback

    CFSubscriptionPaymentService.setCheckoutCallback(this)

  4. Call doPayment with CFSubscriptionPayment object.

    CFSubscriptionPaymentService.doPayment(this, CFSubscriptionPayment(url))

Click here for more Documentation.

Getting help

If you have questions, concerns, bug reports, etc, you can reach out to us using one of the following

  1. File an issue in this repository's Issue Tracker.
  2. Send a message in our discord channel. Join our discord server to get connected instantly.
  3. Send an email to care@cashfree.com

Getting involved

For general instructions on how to contribute please refer to CONTRIBUTING.


Open source licensing and other misc info

  1. LICENSE
  2. CODE OF CONDUCT

About

Sample demonstrating integration of Cashfree's subscription in your Android project

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published