You need to request for the Android Integration Kit (in addition to your test account credentials such. Easy Integration With our detailed integration kit and APIs, integrate and go live with CCAvenue in the. 2 Phone CCAvenue PhonePay (I.V.R.S.). 3 In-App Payment gateway that seamlessly integrates into your app, be it Android, iOS, BlackBerry or Windows platform Learn More. 4 Email / SMS Invoice.
Accept mobile payments in any Android App using our native Android SDK. With our mobile SDKs, you do not need to worry about PCI DSS compliance by eliminating the need to send card data to your server. Instead, our libraries send the card data directly to PayU servers which are PCI-DSS Compliant. The PayUmoney mobile SDKs ensure strong encryption and data security to ensure complete peace of mind to your users.
Have a look at the animated image below to understand payment collection through PayUmoney Plug & Play Android SDK.
This integration guide will assist you in integrating with the PayUmoney Android SDK and the PayUmoney Plug n Play module to provide a complete payment experience to your users.
The following features are supported in the PayUmoney Plug and Play Android SDK.
The following payment modes are supported in the PayUmoney Plug and Play Android SDK.
Meet the Prerequisites
Import and configure the PayUmoney PnP SDK
Calculate the security hash value on your server
Provide details of customer and transaction to the SDK
Verify response hash and display transaction status to the customer
Invoke the function to open the checkout page
Build Payment Parameters and set the server computed hash
This guide will take you through building your app’s payment flow using the PayUmoney Android SDK. The SDK handles collection, storage, and reuse of your user’s payment details, and can also be used to collect billing info. Have a look at the Android SDK Payment Activity Diagram before you take the deep dive.
Meet the Prerequisites
Import and configure the PayUmoney PnP SDK
Calculate the security hash value on your server
Provide details of customer and transaction to the SDK
Verify response hash and display transaction status to the customer
Invoke the function to open the checkout page
Build Payment Parameters and set the server computed hash
The PayUmoney SDK provides a set of optional modules that provide several additional features during Payment Acceptance. Based on your needs, please select the appropriate modules to enhance your user’s payment experience:
To import and configure the PayUmoney SDK in your project, please implement the following changes in your app:
In your project’s build.gradle file, please add the PayUmoney Plug and Play (PnP) SDK module as a dependency by adding the following line:
The only server side change required while integrating PayUmoney Android SDK is generating a hash parameter for both the payment request & response.
A hash is an encrypted value (checksum) that must be sent by the merchant in a payment request that is then sent back by PayUmoney in the payment response. A hash is used to protect transactions against “man in the middle” attacks.
Use the following sample java sequence to generate a request hash.
To start using the PayUmoney PnP SDK, you need you initialize the SDK by providing details about the customer and the transaction. Please use the sample code provided below to setup the SDK initializer.
The ‘udf’ fields below stand for ‘user defined field’. These are optional fields to pass custom information about the transaction to PayUmoney. You may pass up to 5 UDF fields.
The hash computed on the server side should be passed as an input parameter to the transaction request and hence needs to be passed to the SDK as shown below:
Invoke the following function to open the checkout page. The Customer will now interact with PayUmoney screens till the transaction is complete.
Inputs:
Example:
<style name=”AppTheme.Green” parent=”PayumoneyAppTheme”>
<item name=”colorPrimary”>@color/persian_green_primary</item>
<item name=”colorPrimaryDark”>@color/persian_green_dark</item>
<item name=”colorAccent”>@color/persian_green_accent</item>
<item name=”colorButtonNormal”>@color/persian_green_primary</item>
<item name=”alertDialogTheme”>@style/AlertDialogStyle_green</item>
<item name=”actionMenuTextColor”>@color/white</item>
</style>
Invoke the following function to open the checkout page. The Customer will now interact with PayUmoney screens till the transaction is complete.
Inputs:
Example:
<style name=”AppTheme.Green” parent=”PayumoneyAppTheme”>
<item name=”colorPrimary”>@color/persian_green_primary</item>
<item name=”colorPrimaryDark”>@color/persian_green_dark</item>
<item name=”colorAccent”>@color/persian_green_accent</item>
<item name=”colorButtonNormal”>@color/persian_green_primary</item>
<item name=”alertDialogTheme”>@style/AlertDialogStyle_green</item>
<item name=”actionMenuTextColor”>@color/white</item>
</style>
The PayUmoney SDK provides default response handling and screens thereby removing the need for you to create your own screens or handle the response from the PayUmoney server.
The default screens are illustrated in the screenshots below:
If you need custom screens for transaction success and failure, please review the steps below.
When making a payment using the PayUmoney Android SDK gives two types of payment response:
To know when the payment has completed, override the onActivityResult in your activity as exemplified in the sample code below
Now, you will need to add these lines of JavaScript to your success and failure pages (SURL, FURL) for the Android SDK to be able to detect the result.
Success Page:
PayUmoney.success()
Failure Page:
PayUmoney.failure()
Before transaction response is displayed to the user, please verify the authenticity of the transaction by
generating a response hash.
The hash generated by you should match the one send by PayUmoney in response.
The PayUmoney SDK provides a simple mechanism to allow users to log into their PayUmoney account and utilize features such a Saved Cards, PayUmoney wallet balance etc when making payments.
Antares Auto-Tune Pro (64+32-bit) is a Shareware software in the category Desktop developed by Antares Audio Technologies. It was checked for updates 31 times by the users of our client application UpdateStar during the last month. The latest version of Antares Auto-Tune Pro (64+32-bit) is currently unknown. Melda Productions offers a 34-effect free bundle that’s a tremendous package. Antares Autotune VST. Auto-Tune VST is a precision tool for correcting intonation. Auto tune efx free download 64 bit. Most people looking for Auto tune efx free 64 bit downloaded: Auto-Tune EFX VST. 3.8 on 155 votes. Auto-Tune EFX 2 is the quickest, easiest-to-use tool for real-time pitch correction and creating the iconic Auto-Tune Vocal Effect. Auto tune 64 bit free download. Auto-Tune EFX VST. 3.8 on 147 votes. Auto-Tune EFX 2 is the quickest, easiest-to-use tool for real.
Through the PayUmoney PnP SDK, you can provide an interface to your users to allow them to review an order’s details. To display a review order screen, you will need to pass the details of the order that you want to display. While the SDK controls the look and feel of the Order Review screen, the content itself is defined by you.
To set the order details, pass the information to the PnP SDK in the form of key:value pairs with the key being the row descriptor and the value being the corresponding value associated with that descriptor.
For example:
For using SDK in test mode you need to follow the below-mentioned steps.
S.No. | Parameter Name | Required | Value |
---|---|---|---|
1. | key | Compulsory | Merchant key provided by PayUmoney |
2. | Txnid | Compulsory | Unique transaction id to be sent by the merchant. |
3. | Amount | Compulsory | Payment amount (Type cast to float) |
4. | ProductInfo | Compulsory | Product Description |
5. | firstName | Compulsory | Only alphabets a-z are allowed |
6. | Compulsory | Customer’s email id | |
7. | phone | Compulsory | Mobile or landline number (numerics only) |
8. | udf1 | User defined field 1 | |
9. | udf2 | User defined field 2 | |
10. | udf3 | User defined field 3 | |
11. | udf4 | User defined field 4 | |
12. | udf5 | User defined field 5 | |
13. | SURL | Compulsory | URL called on payment completion |
14. | FURL | Compulsory | URL called on payment failure |
15. | hash | Compulsory | Hash or Checksum = sha512(key txnid amount productinfo firstname email udf1 udf2 udf3 udf4 udf5 salt) (SALT is provided by PayUmoney) |
S.No. | Parameter Name | Description | Sample Value |
---|---|---|---|
1. | status | Transaction Status. (Described in detail in the Transaction Status section) | success |
2. | firstname | Firstname of the payer | Tom |
3. | amount | Transaction Amount | 1.0 |
4. | txnid | Transaction Id passed by the merchant | 0nf725 |
5. | hash | Security hash generated in response to protect against data tampering. Merchant is required to generate a response hash and verify it against this hash. | 127e2c44016aa4c3dd5bacc09b0239b09c6174f275c0ec4c8ec7da3db915a754407849cf2537f8655255ac54ee652c4ef972c721462ec9d0a67c08b66bdbb6ba |
6. | productinfo | Book1 | |
7. | mobile | Mobile No of the payer | 7406740707 |
8. | Email Id of the payer | [email protected] | |
9. | payuMoneyId | The PayUmoney transaction id. | 144190307 |
10. | mode | Payment Mode in:
| NB |
This section contains the details about different response parameters encountered when transacting using PayUmoney.
A transaction can have several different statuses as explained in the table below.
S.No. | Status | Description |
---|---|---|
1. | Not Started | The transaction has not been started yet. |
2. | Initiated | The transaction has been started but not completed. |
3. | Money With PayUmoney | The transaction was successful and the transaction amount is with PayUmoney. |
4. | Under Dispute | A dispute for the transaction has been raised. |
5. | Refunded | The entire amount of the transaction has been refunded. |
6. | Partially Refunded | A part of the amount of the transaction has been refunded. |
7. | Bounced | Incomplete or no details provided at PayUmoney payment page. |
8. | Failed | The transaction didn’t complete due to a failure. |
9. | Settlement in Process | Settlement for the transaction is in process. |
10. | Completed | The transaction is settled and complete. |
To understand the PayUmoney payment flow, you may download and install our sample app and choose to Pay using PayUmoney.
Download Link: https://github.com/payu-intrepos/payumoney-new-sample-app