How to access payment response from EBS Payment Gateway in Android?

Updated 18 December 2016

Save

Create an Activity where we want to access payment response from EBS Payment Gateway.

e.g. MyEBSPaymentResponse.java

OnCreate() method:

Intent intent = getIntent();

String payment_id = intent.getStringExtra(“payment_id”);

where, payment_id is response from EBS SDK and contains PaymentId, AccountId, Mode, BillingDetails,DeliveryDetails etc..

In AndroidMainfest.xml:

where <host_name> is any your host_name like “EBS”.

and <package_name> is your package_name of main projet.

Note: If you use flavor in project then better use  in place of <package_name> to {applicationId}

 Resources : EBS Document.

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