CC Avenue Android Sdk

Updated 29 December 2020

Save

CC Avenue is online payment gateway service which is used to make and receive payments. For CC Avenue Android Sdk integration, we have to make whitelist our server outgoing IP through cc avenue team. It sends response in encrypted form to our server and response is decrypted by our server only. Redirect and cancel urls are used to get callback from CC avenue. RSA url is used to get rsa key which accepts order id & access key.

In this blog, we are going to cover Android Sdk integration in this blog.

 

STEP 1 : Merchant Parameters

Following parameters need to provide by merchant app to SDK =>

1) Merchant Details :

Access_code
Merchant_id
Currency
Amount
Redirect_url
Cancel_url
Rsa_url
Order_id
Customer_id
Show_address
CCAvenue_promo
promo_code
additional_parameter1
additional_parameter2
additional_parameter3
additional_parameter4
additional_parameter5

2) Billing Address :

Name
Address
Country
State
City
Telephone
Email

3) Shipping Address :

Name
Address
Country
State
City
Telephone

STEP 2 : Add SDK dependency in app

Now, you need to import ‘sdklibrarylibrary and add following dependencies in gradle file =>

STEP 3 : CC Avenue Android SDK Code

Add Code to initialise SDK =>

NOTE : Data will be any model class which contains merchant details.

 

STEP 3 : CC Avenue Android Sdk Callback in app

To get the result from SDK, you need to add listener in your class and implement ‘CustomModel.OnCustomStateListener‘.

For more information, please check following link : https://www.ccavenue.com/

Hopefully, this blog will be helpful for you.

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home