How to integrate ccavenue payment gateway in android example

Kabra Express is one of the largest travel company in Gujarat and has operations throughout the country. CCAvenue is one of the biggest payment gateways in India. It supports multiple payment options, mobile payments via WebView and is highly secure.

Windows 7 updater

However, the lack of proper documentation makes its integration with mobile apps a bit troublesome. The whole mechanism relies on RSA. RSA Rivest—Shamir—Adleman is one of the first public-key cryptosystems and is widely used for secure data transmission. In such a cryptosystemthe encryption key is public and it is different from the decryption key which is kept secret private.

Step 1, 2, 3 and 4: All these steps happen in a single request-response cycle, initiated by the mobile app. An example code is below:. The response sent by the server will have the RSA key from the above codeorder id must be unique and a whole numberaccess code, merchant id, redirect success and cancel URLs. The Java code for encryption method is below:.

The payment page is now presented to the user. Depending on the success or failure of the payment, the server and then the app will get the response. Now comes the interesting part. You must be wondering- how does our app know if the payment was successful or failure? You can read more about it here.

How do i activate my lenovo laptop sim card

This HTML is extremely simple:. We attach something called as a JavaScript interface to the WebView. This interface is given a name Payment, in our case. A sample code is below:. This way our app know if the payment was successful or failure. This concludes the journey of integrating CCAvenue in an Android app in case of non-seamless integration. We also almost always go with non-seamless integration as it requires little adherence to compliance. Prerequisites Get your public IP address whitelisted at CCAvenue in both production and staging environment mail them about it, mentioning your merchant ID Get access code and encryption key from the dashboard.Every time you book an Airbnb room, buy kitchen stuff at Walmart or pay for a new car at eBay you deal with payment gateways PGWs — smart tools that facilitate purchase transactions.

Mobile shopping is the order of the day; millennials eagerly make purchases on the go using their smartphones.

The massive shift from desktops to mobile devices in recent years has forced retailers to develop e-commerce apps with built-in payment gateways. Simply put, a payment gateway is a service that makes any financial transaction possible by transferring data between a device and an acquiring financial institution usually a bank. Payment gateways are important for apps designed for e-commerce, hotel reservation, flight booking, grocery shopping, etc.

The gateways they use offer customers exciting buying experience without the distraction of the shopping itself. Some of them have even developed their own payment gateways — high quality and reliability.

Dedicated accounts are for those merchants who wish to keep a finger on the pulse. They give the owners more control over the money movement, however, they are more pricey and make the payment processing lengthier.

On aggregated merchant accounts, retailers can hold funds of different owners.

Subscribe to RSS

This type is widely used due as it offers a quicker procedure. One possible drawback of aggregated accounts is that there are no regulations for the way how a provider handles your funds. User-friendly, easy and secure — this is all about Stripe. The pricing policy is standard with 2. Also, Stripe offers discounts when the total turnover of transactions increases.

Probably, the best-known and the most popular provider, PayPal is packed with a plethora of features to any taste. Among the coolest functions are split purchase transactions, reporting tools, simple invoicing and payment procedures. PayPal charges 2. Amazon Payments. Amazon launched its payment gateway service long ago with the aim to provide the same payments standards on other sites.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. We use CCavenue and PayPal payment gateway in web application to do this functionality.

how to integrate ccavenue payment gateway in android example

We are developing Android app for the same application. Next, you will need to follow this data flow:. Learn more. Asked 5 years, 11 months ago. Active 4 years, 4 months ago. Viewed 24k times. I don't have any idea how to integrate Android with CCavenue. Kevin Guan Me also looking for the answer, if you implemented successfully then share the answer. William I have CCavenue loginid password but there is no any api given, so just want an idea from where we start the integration. There is integration method also but dont know how to use.

Active Oldest Votes. You need to register for their service. Thanks for the info, do we need to go for PCI compliance in this approach? The Overflow Blog. Featured on Meta. Feedback on Q2 Community Roadmap. Technical site integration observational experiment live on Stack Overflow. Dark Mode Beta - help us root out low-contrast and un-converted bits.

Question Close Updates: Phase 1. Linked Related Hot Network Questions.

Homemade 410 pistol

Stack Overflow works best with JavaScript enabled.CCAvenue is the most popular payment gateway in India. As the eCommerce is picking momentum and growing at exponential rate, it is high time you think about setting up a shopping cart. If you are based out of India then CCAvenue is one among the best choice. In a previous articles we have seen different payment gateway integration like PayPalStripe payment and more.

The library files will connect the CCAvenue server during payment with the reference of the authentication credentials. These credentials are available from the CCAvenue dashboard by logging in as a merchant.

The payment gateway is a software functionality to make an application to process online payments via credit cards, debit cards, net banking and more. The payment gateway providers will authenticate the application with the reference of the authentication credentials provided by them. These credentials and the methods to get the credentials vary based on the payment gateway providers. Master Merchant allows authorized Sub Merchants to accept payment from their customers.

The Master Merchant has to be authorized with CCAvenue to make a commercial web application to process payment. Integrating this payment gateway with a web application is used to enable payment processing via CCAvenue.

Previously, we have seen example code in PHP to integrate Stripe payment gateway.

CCAvenue Payment Gateway Integration in WordPress [Official]

This is one of the popularly used payment gateway for the Indian web applications. It supports online payments via credit card, debit card, internet banking and more. If you want the PHP code for other payment gateway integrations like Authorize. There are four type of integration methods supported by CCAvenue to provide payment interface to collect information.

Those are listed and explained below. In this flow diagram, it displays the payment flow between CCAvenue and the PHP web application in which this payment gateway is integrated.

In this flow diagram, it shows the possible ways of payments supported by CCAvenue. The following screenshot shows the CCAvenue merchant signup form used to create a new account as the first step of this payment integration. This integration kit is available for mobile and web application. Net and more. By logging in with the approved Merchant account we can see the menu navigation in the header to see the integration kit downloads. When you download the integration kit from the CCAvenue merchant dashboard, it contains request response payment handler files.

The integration kit is also contains Crypto. Fore implementing CCAvenue payment gateway integration, the merchant id, access code and the working key are the prime information to be passed with the payment request.

For getting these code and keys you need to have CCAvenue Merchant account. Once we logged in with CCAvenue by using Merchant account, we can see the dashboard with menu options access the resources and keys. So, we need to copy the right secret keys and use them in the right origin to send payment request.

In this section, we are going to see an example for integrating CCavenue payment gateway in an PHP application. In this example, I have created config. A standard payment form has to be submitted for initiating the payment request.

This form will contain inputs with merchant id, language, amount, currency and more payment details. In this file, it receives the payment data posted via the HTML form. The posted data are are encrypted in this file. The working key taken from the CCAvenue Merchant dashboard is used as the encryption key. After encrypting these form input the encrypted details are concatenated and sent to the CCAvenue server with the access code.A device used to connect two different networks intra or interespecially a connection to the internet.

A gateway is a node router in a computer network, a key stopping point for data on its way to or from other networks. Thanks to gateways, we are able to communicate and send data back and receive. A payment gateway is a merchant service provided by an e-commerce application service provider that allows credit card or direct payment processing for e-business, online customer, an online retailer.

Professionals associated with the E-commerce industry believe the fact that payment gateway is one of the most crucial factors of their business. The difficulty is that choosing among the many service providers to select from. Which one is best? More importantly which one is suitable for their particular venture in business? While making payments, the customer is redirected to the real gateway page by clicking the gateway link. This leaves your website for some time before returning back.

The benefit of these gateways is that you do not need a Merchant ID since no confidential details are needed from your website. While making the payments, a customer is directed to the payment page and not out of your website. The payment page is maintained securely by the payment gateway.

Maa ar shate prem

After all details about credit card and other required fields are complete, the user fully gets back to the main website. The main benefit is that one does not get away from your website thus fast and easy to use. Example of a gateway is eWay. The biggest perk of this setup is that the offsite provider is responsible for all PCI compliance and data security.

There are some potential downsides, however. A lack of security could put your customers at risk, or subject your store to an audit. The bottom line is gateways integrated via AOI offer a seamless process, but can be more difficult and time —consuming to set up. Google Apps Offer Read More. Toggle SlidingBar Area.Please refer our privacy policy for more details.

PayUMoney is one of the most trusted payment gateways which offers secure mobile payments. Executing PayUMoney Integration in Android is fast and easy albeit it may present you to some challenges. As an experienced Android development companywe have highlighted the challenges you may face during integration.

Integrating a renowned payment gateway like PayUMoney can keep your business functions streamlined. About Rishabh Careers Blog Partner with us. Mobile App Development Services. Enterprise Application Development Services. Cloud Development. Web Application Development. PHP Development Services. Front End Development. Business Intelligence Services. Digital Enterprise. Our Clients.

how to integrate ccavenue payment gateway in android example

Case Studies. Company Name:. Interested In:. Acceptable file types: doc,docx,pdf,xls,xlsx. Maximum file size: 2mb. Consent Checkbox. Yes, I am OK to receive further communication over my details shared here. Refer Privacy Policy for more info. Leave this field empty. Integrate PayUMoney in Android Challenges Faced While Integrating PayUMoney: Getting real-time notifications for success or failure of transactions: If a merchant or PayUMoney updates their payment pages while a customer is processing the payment, the transaction can result into a failure.

In such scenario, the integration must enable real-time notifications for the success or failure of the transactions.

Integrating CCAvenue in an Android App

Deciding whether to go with seamless and non-seamless integration: The app owner and developer after choosing a payment gateway needs to decide on the appropriate workflow for the app.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. The dark mode beta is finally here. Change your preferences any time.

Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. From your question first you have to find your merchant type and after that you have to follow the steps provided in documentation of ccavenue sdk sample here you can contact the ccavenue guys for your sdk sample or any other query. Learn more.

CCAvenue Payment Gateway Integration in PHP Website With Step by Step Example

Asked 4 years, 6 months ago. Active 4 years ago. Viewed 4k times. Bhavesh Rangani Bhavesh Rangani 1, 9 9 silver badges 19 19 bronze badges. Active Oldest Votes. From your question first you have to find your merchant type and after that you have to follow the steps provided in documentation of ccavenue sdk sample here you can contact the ccavenue guys for your sdk sample or any other query Steps: Request for payment options is sent from Mobile App to CCAvenue On receiving the request for payment options, JSON data with payment options is returned by CCAvenue.

Request for encryption key from Mobile App is submitted to the Merchant server. Request for encryption key from Merchant server is submitted to CCAvenue. Encryption key is sent from Merchant server to Mobile App.

On submission of encryption key to the application, transaction with encrypted data is sent from Mobile App to CCAvenue.

Processed transaction status returned by CCAvenue to Merchant server. Transaction status pulled by Mobile App. Aditya Vyas-Lakhan Ajay Pandya Ajay Pandya 2, 3 3 gold badges 23 23 silver badges 60 60 bronze badges.

how to integrate ccavenue payment gateway in android example

The Overflow Blog. Featured on Meta. Feedback on Q2 Community Roadmap. Technical site integration observational experiment live on Stack Overflow. Dark Mode Beta - help us root out low-contrast and un-converted bits. Question Close Updates: Phase 1. Linked Related Hot Network Questions.

Question feed. Stack Overflow works best with JavaScript enabled.


thoughts on “How to integrate ccavenue payment gateway in android example”

Leave a Reply

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