Studiocart has the option to allow your users to pay securely with PayPal. This guide will show you how to enable PayPal and how to get your PayPal Client ID, Secret Key, PDT Token and Sandbox details.
How to set-up PayPal:
To get started, Find Studiocart in your WordPress Dashboard menu. Select Settings and toggle to the Payment Methods window.
Then, scroll down to the PayPal settings. As you can see you will need the following information from your PayPal account.
- PayPal Email
- Client ID
- PDT Token (optional)
- Sandbox Email
- Sandbox Client ID
- Sandbox Secret
- Sandbox PDT Token (optional)
If you don’t have this information, keep reading to learn how to get your PayPal Client ID, Secret Key, PDT Token, and Sandbox details.
Note: The PDT Token and Sandbox PDT Token are only required if you need to set up an integration that uses autologin.
If you do have this information, skip to the final step by clicking here
How to get PayPal Client ID, Secret Key, PDT Token and Sandbox details:
To get started, visit the following website https://developer.paypal.com and log into your PayPal Dashboard.
Then, in the Dashboard menu under Sandbox select, Accounts and create a Sandbox Business Account. This will give you the ability to make test payments.
Next, create a PayPal app. To do this, select My Apps and Credentials in the Dashboard menu.
Then, select Create App and give your app a name. Choose the sandbox account you created in the step before and select, Create App once more.
You should now see the My First App window and your Client ID. Below this, you will see Secret and an option to select show. Copy and paste both your Client ID and Secret into your Studiocart Settings.
Note: If you require the PDT Token, instructions for this are after the Sandbox details.
Now you need to find your Sandbox details. Select My Apps & Credentials in the Dashboard menu, once more. Then, select Sandbox and click on the app name you created earlier. Copy and paste the Sandbox Email, Sandbox Client ID and Sandbox Secret into the Studiocart Settings.
Now it’s time to add the PDT Token and Sandbox PDT Token.
Note: The PDT Token and Sandbox PDT Token are only required if you need to set up an integration that uses autologin. If you don’t require a PDT Token skip to the final step by clicking here
To access the PDT token go to https://paypal.com/busisnessmanage/account/website and select Account Settings. Then select Website Payments from the Account Settings menu. Find Website Preferences in the Website Payments window and select update.
Account Settings > Website Payments > Website Preferences > Update
In the Website Preferences window scroll down to Payment Data Transfer to locate your Identity Token. Copy and paste the PDT Token into Studiocart Settings.
To get the Sandbox PDT Token visit https://www.sandbox.paypal.com/businessmanage/preferences/website and log in using your Sandbox Seller Account. Scroll down to Payment Data Transfer to locate your Identity Token. Copy and paste the Sandbox PDT Token into Studiocart Settings.
After copying over all of the details into the Studiocart Settings, make sure the Enable setting is toggled on and select, Save Settings.
How To Get Paypal Live Client ID and Secret Key:
When you’re ready to go live login to your Paypal Dashboard at https://developer.paypal.com. Select My Apps & Credentials in the Dashboard menu. Then, select Live and click on the app name you previously created. Copy and paste the Client ID and Secret Key into the Studiocart Settings replacing the Client ID and Secret Key previously entered.