Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
This is the chapter-2 of how to integrate the PayPal standard payment gateway in your android app.
In the previous chapter, we had known how to get the API Credentials after that we to implement it in the app.
Step 1: Get the Client_id and serect(which will be used in future) by creating the app in PayPal developer account.
For knowing, how to get the client_id and secret go to this knowledgebase.
Step 2: Make a credential class file to enter the PayPal app credentials
Step 3: Configure the PayPal service add it to your payment activity,
Step 4: Prepared checkout data with function getStuffToBuy,
Step 5: getStuffToBuy function return an object,
Step 6: After preparing the data send it to the PaymentActivity.class
Step 7: And At last get the result,
In the response, you have received a pay_id, Which is used to getting the full transaction details of payment by calling simply two API calls.
For getting the full transaction details by the pay_id in PayPal mobile payment visit our this blog.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Excellent work, fast, good quality and understood the brief perfectly! Quick responses developing the project and very good cooperation. I suggest to anyone.
Stathis Plakidas
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.