Learn more about the subscription android sdk integration in your app
subscription_id
and subscription_session_id
CFSubscriptionSession
object.CFWebCheckoutTheme
object (Optional).CFSubscriptionPayment
object.cashfree_subscription_flow_enable
flag, SDK won’t provide a payment callback.
It should be added inside application tag, not inside activity tag.
subscription_session_id
) and subscription ID (subscription_id
) obtained from creation step. It also specifies the environment (sandbox or production).
CFWebCheckoutTheme
. This step is optional but can help maintain consistency with your app’s design.
You can set the NavigationBarBackgroundColor
which will set the color for status bar & cashfree loader
CFSubscriptionResponseCallback
to receive callbacks from the SDK once the payment journey ends.
This interface consists of 2 methods:
doSubscriptionPayment()
to open the Cashfree Subscription checkout screen. This will present the user with the payment options and handle the payment process.
CFSubscriptionResponseCallback
interface.
(Optional) Enable logging to debugging issues
values.xml
file.<integer name="cashfree_pg_logging_level">3</integer>
Following are the Logging levels.