In this tutorial we are going to see how to set up your Paypal account to enable online payments through your application.
Important : your app must use a currency supported by paypal. You can find the list here.
You can set your app currency at the bottom of the design tab of your app editor.
FIRST, If you don’t have a Paypal account, you need to create one. Please go to paypal.com and sign up for free.
Your Paypal account must be “premium” or “business”.
Here is what you need to set up Paypal in your mobile app:
- Paypal API username
- Paypal API password
- Paypal signature
The process is simple but need some requirements. First open paypal.com and log-in.
Under your name make sure your status reads: Verified.
If your account isn’t verified you have to verify it by Paypal.
How do I request API Signature or Certificate credentials for my PayPal account?
Here’s how to request API Signature or Certificate credentials for your PayPal account:
Go to your Account Settings.
In the API access section, click Update.
Under NVP/SOAP API integration (Classic), click Request API credentials / Manage API credentials if you’ve been here and requested them before.
If you have already generated an API Signature, then View API Signature appears. Click that option to view or remove your existing API Signature.
If you have already generated an API Certificate, then View API Certificate appears. Click that option to view or remove your existing API Certificate.
Note: If you are prompted to verify your PayPal account, then follow the on-screen instructions.
Select one of the following options, then click Agree and Submit.
Request API Signature – Select for API Signature authentication.
PayPal generates your API credentials as follows:
API Signature credentials include an API Username, API Password, and Signature, which does not expire. These values are hidden by default for added security. Click Show/Hide to toggle them on and off. When finished, click Done.
Here you now have the ability to show your API Username, your API Password and your signature.
You will need these for options such as Commerce Pro if you choose to use the PayPal method for payment.