Start a Project

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

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.

Exit mobile version