Setting Up PayPal Payment Method
The PayPal addon allows you to accept payments on your WordPress site from your customers via PayPal checkout, Credit Card, Venmo, Visa, Mastercard, Venmo, Discover, iDEAL, American Express, Bancontact, BLIK, Giropay, MyBank, Przelewy24 and many other supported payment methods.
Setting up PayPal Payment Method
Configuring PayPal is simple and only takes a few moments.
First, ensure the PayPal addon is enabled. You can enable it via ProfilePress >> Addons.
Next, go to ProfilePress > Settings > Payments >> Payment Methods and click the Configure button for PayPal.
If you want to test the setup before going live, ensure you activate “test mode” before going through the PayPal setup.
The next thing to do is to create a PayPal application and fill out the settings with the app details.
Creating a PayPal Application
If you enabled test mode (when not ready to accept live payments) in the previous step, you must create a Sandbox application. However, to set up PayPal to charge real payments, you must create a Live application.
Log in with your PayPal account to https://developer.paypal.com.
Go to Dashboard >> My Apps & Credentials, click the Live tab, and then the “Create App” button.
Enter a name for the application. For example, you could enter your business name.
After creating the app, you will see the Client ID and Secret. Copy and save them to the ProfilePress PayPal settings.
Ensure “Accept payments”, Invoicing, and Customer Disputes features are enabled.
Copy and save them to the ProfilePress PayPal settings.
Webhooks are how ProfilePress communicates with PayPal. To add the appropriate webhook endpoints in your PayPal application, go to your App settings page, scroll to the “LIVE WEBHOOKS” section and click the “Add Webhook” button.
Enter your website webhook URL. You can get and copy the Webhook URL from the Webhook Setup section of the ProfilePress PayPal settings page, which is usually
Note: Replace “example.com” with your actual site URL.
Check the box “All Events” below the Webhook URL field.
Then scroll down and click the save button:
After saving the webhook URL, copy the Webhook ID and save it to the ProfilePress PayPal settings.
Don’t forget to save your changes.
Additional Settings / Features
Other Payment Method
When using the PayPal Addon, you may be able to offer your customers additional PayPal-supported payment options on your form beyond just PayPal and credit card.
Additional funding sources are offered in the PayPal Checkout interface through payment buttons appearing when users interact with the checkout form. Here is an example:
If you have turned on the setting, then which payment buttons are offered is dependent on two factors:
- The list of permitted sources bundled in our PayPal Add-On.
- PayPal determination of which sources are appropriate for your particular customer. For example, Venmo may not be offered to buyers outside the US.
If a payment method satisfies both criteria, it will be offered on that form for that customer.
New funding sources may be added with later versions of the addon, and they will automatically be enabled on update if you have this setting enabled.
Remove Billing Address
Check this setting if you do not want to display the billing address fields on the checkout form.
Testing PayPal Integration
Firstly, ensure test mode is enabled from ProfilePress > Settings > Payments >> Payment Methods.
PayPal should automatically create personal, and business sandbox accounts you can use for testing. The personal account details are what you will use for making test payments as a customer, while the business sandbox account is where you will see all test payments and subscriptions your website processed.
You can access these by clicking on “Accounts” on the left side menu inside the Sandbox developer dashboard – or
go here. You can get the credentials for these accounts by clicking on the three dots and then clicking view/edit account.
Save the Business and Personal credentials to doc because you’ll need them during your test.
If you can’t find a default app created automatically for you by PayPal, or you prefer to create a new app, ensure the Sandbox tab is selected and the App Type set to “Merchant.”
Before testing purchases, ensure that your sandbox account can accept multiple currencies and that you’ve added all you plan to use. If you do not do this, some transactions (subscriptions) will be pending until you approve them.
Log in to https://www.sandbox.paypal.com/businessmanage/preferences/payments with the sandbox Business account (the one selected when creating the app) and make sure to “Allow payments sent to me in the currency I do not hold” to one of the “Yes” options.
On the page https://www.sandbox.paypal.com/businessmanage/account/money. You can add additional currencies that you plan to use.
If you have trouble logging into your sandbox account, check generated accounts, edit merchant one, and check (or change) the password.
If you need further guidance on using PayPal or run into any issues setting things up, please reach out to our team, and we’ll be glad to help.