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.

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close