- Compliance Notice: By June 30, 2018, any system that connects to PayPal via HTTPS must support TLS 1.2 or higher. To avoid any disruption of services, ensure your systems are ready.
- You must have a PayPal Business Account.
- For live transactions, you must enable SSL / https for your domain.
- If you use PayPal – use currencies supported by PayPal.
- For Recurring payments, please remember to add the IPN URL in the Paypal account as instructed below
PayPal Processor Page Template
You need one page created with the PayPal processor template. The page itself is not a link that should be accessed directly.
The PayPal API will use it to communicate with the theme and the merchant. You will see a generic message when opening the URL in the browser. It’s correct and there is no issue with the page.
Make sure you have only 1 page with this template. The theme already offers you the page with demo installation, so you do NOT need to create a 2nd one unless you deleted demo pages.
SANDBOX (for tests) or LIVE API credentials.
You can test with PayPal Sandbox before you add LIVE credentials.
Please be sure to replace the API details when you switch from Sandbox to Live. API credentials and received email will be different based on your selection.
Add the LIVE or the Sandbox API in Paypal settings
How to take your Sandbox or LIVE credentials
1.Login at https://developer.paypal.com to create the API
2. Go to Dashboard Menu
3. Optional: How to create a sandbox account
If you wish to test with sandbox mode (all transactions are purely fictional) you must create your own business sandbox account from Sandbox – Accounts and select it when you add a new app.
4. Go to My APPS to create the new app:
Type the APP name and select the sandbox email (will be useful if you wish to test sandbox mode before doing live transactions)
Add webhook
5. Copy the Client ID and Secret id.
Be careful when copy SANDBOX or LIVE. You must set the theme options to match Sandbox or Live too. See STEP3.
Select if you wish to use Sandbox (a test environment) or Live (real transactions)
Enable PayPal and Add the API Details
Don’t forget to add your paypal email to receive payments
Add your sandbox email to test payments or your live paypal for real payments.
Add the PayPal Processor URL in your PayPal account for recurring payments (with membership mode enabled)
For sandbox tests, you must go to https://www.sandbox.paypal.com/, login with the sandbox account you created above
For live tests, go to https://www.paypal.com
PayPal common errors:
error:14077410:SSL%20routines:SSL23_GET_SERVER_HELLO:sslv3%20alert%20handshake%20failure
Please see this url with a similar issue http://stackoverflow.com/questions/34926940/php-paypal-error-14077410ssl-routinesssl23-get-server-hellosslv3-alert-hands
And the solution:
Support SHA-256. PayPal is upgrading SSL certificates on all Live and Sandbox endpoints from SHA-1 to the stronger and more robust SHA-256 algorithm. You will need to update your integration to support certificates using SHA-256.
Discontinue use of the VeriSign G2 Root Certificate. In accordance with industry standards, PayPal will no longer honor secure connections that require the VeriSign G2 Root Certificate for trust validation. Only secure connection requests that are expecting our certificate/trust chain to be signed by the G5 Root Certificate will result in successful secure connections.
This document has the details to fwd to hosting: