Standard Checkout


In a mobile standard checkout merchant needs to post the intial request to hosted checkout page where customer will provide card/account details. Once the payment is verified customer is redirected back to the android application along with the payment result.


The initial request must contain all the required information:

  • - authentication credentials
  • - mode, brand , type and amount of transaction
  • - merchantTransactionId
  • - merchantRedirectUrl

The mobile standard checkout request has to be sent to our endpoint i.e. /transaction/PayProcessController using POST method.


In our API Specifications you can find a full list of parameters that can be sent in the initial request.


Workflow


1. Post an Initial Payment

Merchant needs to post the intial request to hosted checkout page.

2. Redirect to hosted page

Customer will provide his/her card/account details on hosted checkout page.

3. Return to the android application

After payment confirmation, the payment result will be returned as a Object to the android app.


1. Configuration of the build.gradle file

You need to add the following code in your build.gradle file:

repositories {
    maven {
        url 'http://artifact.paymentz.com/artifactory/paymentz-android-sdk/'
    }
}

dependencies {
    compile(name:'app-debug', ext:'aar')
}

2. Post an Initial Payment

To start the process, merchant has to send a server-to-server initial payment request. Here merchantRedirectUrl has to be url-encoded.


Sample Request


3. Redirect to hosted page

The account holder will be redirected to hosted page, where the account holder can fill the card/account details.


4. Return to the android application

Once the payment has been processed, the flow will be redirected to the android application along with the payment result parameters. These parameters will be accessible via the get methods from the PaymentzResult class. Please check the example below.

You can also check the payment confirmation with our Backoffice Inquiry API.


Sample code for reading the response


Payment Modes and Brands

Find below the list of payment modes and brands for standard checkout.

Show all modes and brands

ModeBrand
Copyright © 2015 - 2017. All Rights Reserved