Paypal X toolkit for Force.com
Osama | July 19, 2010Last month Salesforce.com and PayPal announced Paypal X toolkit for Force.com Platform.
PayPal, as everybody knows is the most commonly used payment gateway in e-commerce world. The important points about PayPal are:
- Facilitates payments
- Pay anyone, receive from anyone
- Account management
- Tools for information and reporting
PayPal provides its APIs for integration with other e-commerce websites. They recently launched few changes in their system which are :
- Pre-approval APIs
- Refund
- Convert Currency
- Parallel Payments
- Chained Payments
Using Parallel payments, you can split a single payment to any number of receivers. For example, a person purchases different items from different sellers. The person doesn’t have to arrange separate transactions for each seller. What he can do is just arrange a single payment which can be distributed among all the sellers. Isn’t it great?
Using Chained payments, you can send one payment to specific merchant who can further sends the payment after keeping his share. For example, you buy a product through a sales rep of an organization. You can arrange a chained payment for this purpose. You will pay to the sales rep and which will be forwarded to the organization’s account after the share of sales rep is deducted.
Force.com PayPal X toolkit is a set of apex classes for accessing API more easily. You can access them through force.com IDE after installing them into your organization. It takes care of transport . It securely manages API credentials. There is a custom object where you store your API credentials. It also supports adaptive accounts. It is easy to access PayPal sandobx sandbox, beta and live environments.
To access it, sign up on X.com. Obtain application ID from MyApps page. Now, create PayPal sandbox test account and signup on http://developer.paypal.com. Now, Create test accounts for sandbox and obtain API credentials.
Install PayPal X toolkit from code share.
There are sample codes available for every kind of request that PayPal supports.
Now you don’t have to waste your time in writing custom code to integrate PayPal into your system. Just modify the template classes in the toolkit (which is usually the change in API credentials and some other information as required).
More info on this can be found at webinar by salesforce.com.









