Skip to content
No results
  • Home
  • All Blogs
    • Career
    • DevOps
    • Developer
    • Admin
    • CTA
  • Interview
  • Certifications
  • Free Training
  • About
    • About Apex Hours
    • Contact Us
    • Privacy Policy
    • Subscribe Us
Apex Hours
  • Home
  • All Blogs
    • Career
    • DevOps
    • Developer
    • Admin
    • CTA
  • Interview
  • Certifications
  • Free Training
  • About
    • About Apex Hours
    • Contact Us
    • Privacy Policy
    • Subscribe Us
Apex Hours
Paypal integration with salesforce
Paypal integration with salesforce

PayPal integration with Salesforce | Paypal API

  • Amit ChaudharyAmit Chaudhary
  • July 13, 2019
  • Integration
  • 1 Comment

Join us to learn about PayPal integration with Salesforce. In this session we will show how you can easily connect the PayPal Payflow Pro payment gateway to Salesforce, in order to charge credit cards directly from Salesforce, either via embedded buttons.

Table of contents
  1. Agenda:
  2. Purpose Of Integration
  3. What is API
  4. What is WebService
  5. 5 Pillars of Integration
    1. Create a PayPal Account
    2. Create a Sandbox Account
    3. Create an Application in PayPal
    4. Get Access Token

Agenda:

  1. Purpose of Integration
  2. What is API?
  3. What is WebService?
  4. Live Demo
    1. Create Paypal Account
    2. Create Sandbox in paypal
    3. Paypal Connected App
    4. Paypal API
      1. Create Payment using Paypal Method
      2. Create Payment using Credit Card Method
      3. Create Order using api
      4. Create Invoice
      5. Send Invoice
      6. Create Product
      7. Create Product Subscription
  5. Object Structure of the Objects involved in Demo
  6. Walkthrough of how to setup the Integration and test API using Postman tool.
  7. Q & A

Purpose Of Integration

  1. Purpose of integration is to integrate the PayPal payment gateway with Salesforce.
  2. Integration is useful to make the payment from e-com community or sites.

What is API

  1. An API in an Application Programming Interface
  2. It provides the information for how to communicate with software components
  3. Operations (What to Call) GET, POST, PUT, PATCH, DELETE
  4. Inputs (What to send with a Call)
  5. Outputs(What you get back from a Call)
  6. Request-Response format with object structure
  7. By using API you can change what is happening behind the scene without modifying how people call it

What is WebService

A web service is a method of communication that allows two software systems to exchange data over the internet.

  1. REST
  2. SOAP

5 Pillars of Integration

  1. Read 3rd Party System API
  2. Identify the oAuth of the API
  3. Test Authentication using any API Testing Tool like POSTMAN, Advanced REST Client
  4. Test API Callouts for different endpoints using API Testing Tools
  5. Start writing code

Create a PayPal Account

Create a Personal or Business PayPal account
1. To create business PayPal account visit https://paypal.com
2. To create Personal/Individual Account visit https://www.paypal.com/in/signup/account

Create a Sandbox Account

Create an Application in PayPal

Visit https://developer.paypal.com/developer/applications

Get Access Token

Method :- POST

  • URL :- https://api.sandbox.paypal.com/v1/oauth2/token
  • Content Type :- application/x-www-form-urlencoded
  • Body => grant_type=client_credentials
  • Header
    • Grant_type : client_credentials
    • Authorization : Basic Base64Encoded String of Clien_Key:Client_Secret

Here is recording of session.

YouTube video


Speaker         : Amit Singh
Date               : Saturday, 13 July 2019 10:00 AM EST ( 7:30 PM IST)


Here is the Link to Request Body that we used in our demo
https://docs.google.com/document/d/1JI1KuBE9vmfB5Ts6-msOdWINI7y_TkX0fFZpOHhCxi4/edit?usp=sharing

Please subscribe our YouTube channel to get notification for video upload. Check our “Session in 2019” page for all upcoming and old sessions of 2019.

Sharing is Caring so Share with your friends

Amit Chaudhary
Amit Chaudhary

Amit Chaudhary is Salesforce Application & System Architect and working on Salesforce Platform since 2010. He is Salesforce MVP since 2017 and have 17 Salesforce Certificates.

He is a active blogger and founder of Apex Hours.

Articles: 452

Related Posts

Salesforce integration with Mulesoft

Salesforce integration with Mulesoft

Common Salesforce Integration Scenarios

Common Salesforce Integration Scenarios

Salesforce Integration Crash Course

Salesforce Integration Crash Course

One comment

  1. Chris Chitemerere

    Chris Chitemerere

    August 21, 2021 / 10:56 am Reply

    Can you kindly assist with setting up the Salesforce Objects side?

    Thanking you in advance

Leave a ReplyCancel Reply

Your email address will not be published. Required fields are marked *

Gearset
Panaya Foresight Influencers
Become a Salesforce Developer
Become a Salesforce Developer
Accelq
salesforce training

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4,678 other subscribers

Copyright by ovatheme on themeforest

  • Home
  • About Apex Hours
  • Contact Us
  • Privacy Policy

Copyright © 2023 - All Rights Reserved By Apex Hours.

Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}