
WooCommerce PayPal Setup: Table of Content
How to create a PayPal Sandbox Account




Installing PayPal for WooCommerce
To enable paypal payments on your WooCommerce site, you’ll typically install an extension such as the woocommerce paypal payments plugin before starting the configuration.




The paypal gateway must be configured in your checkout settings before it becomes activated and enabled.

In Payments settings, you can customize the PayPal experience using various WordPress plugins to extend WooCommerce functionality, including the paypal button appearance, default text shown to users at checkout, and other paypal options for checkout pages.
WooCommerce PayPal Setup
PayPal Standard is the simpler offsite option for WooCommerce, sending customers to the PayPal website to complete payment instead of keeping them on your store’s checkout pages. It redirects users to PayPal for payment processing, which makes it easier to set up than more advanced PayPal checkout options.
It also does not require a complete on-site checkout setup in WooCommerce, though merchants still need a PayPal Business account. It was included in WooCommerce until version 5.5.0, then removed from core and hidden for new installs after 5.5, with PeachPay often mentioned as a way to add it back.

How to generate Identity Token

Note: While generating the Identity Token, also set up your PayPal IPN URL in WooCommerce. This PayPal IPN URL is necessary for WooCommerce payments and payment notifications to be sent correctly, and the same PayPal account can be used with multiple IPN URLs for different store setups.



You can also enable PayPal Account Optional in your PayPal account settings if you want eligible customers to check out without using an existing PayPal account, and use similar tools to add a PayPal donate button in WordPress if you collect donations instead of traditional orders.
Finishing up The Setup

Copy the api credentials from PayPal into WooCommerce to connect the accounts correctly, including the required code fields shown in PayPal. Also, make sure the PayPal email in WooCommerce matches the confirmed receiver email in your PayPal account to avoid PayPal IPN validation errors caused by different email addresses.
How to Run a Test Purchase with PayPal Sandbox Account


You’ll now see a screen where you can set up a new test account.


Testing our Buyer Account

Customers are then taken to the PayPal payment window, where the payment action is completed before they return to your store.



Common Issues and Troubleshooting in WooCommerce PayPal Setup
IPN Failures
PayPal Instant Payment Notifications (IPN) are essential for WooCommerce to receive real payments updates. If IPN fails, orders may remain on hold or not update correctly. Ensure your PayPal IPN URL is correctly set in WooCommerce, and your server allows outgoing connections on port 443. Also, verify that the email address in WooCommerce matches your confirmed PayPal receiver email. If customers abandon orders on PayPal, these orders will show as Pending in WooCommerce until they expire or are manually canceled.
Payment Not Going Through
If payments are not processing, check that your API credentials are correctly entered in WooCommerce settings. Also, confirm that your PayPal account is a Business account and that PayPal Account Optional is enabled to allow shoppers to pay without a PayPal account. Disable any conflicting plugins that might interfere with PayPal payments and verify that there are no underlying WooCommerce cart functionality issues.
Currency Mismatch Errors
Currency mismatch between your WooCommerce store and your PayPal sandbox or live account can cause orders to remain in Pending status. Make sure the currency settings in both your WooCommerce store and PayPal account are aligned to avoid this issue, similar to how proper configuration prevents WooCommerce tax calculation errors.
SSL Certificate Issues
While PayPal Standard does not require an SSL certificate, having SSL enabled on your WordPress site is highly recommended for security and SEO benefits. SSL ensures that billing, shipping details, and payment information are transmitted securely as part of broader WooCommerce fraud prevention strategies.
Checkout Page Redirect Problems
If customers face issues being redirected to or from PayPal during checkout, verify that your auto-return URL and IPN settings are configured correctly in your PayPal account. Also, ensure your firewall or caching plugins are not blocking PayPal’s notifications, and rule out broader WooCommerce cart not working issues that can disrupt the checkout flow.
Sandbox Mode Stuck
When testing in sandbox mode, you might find that orders do not update automatically. Check that you are using the correct sandbox API credentials and email addresses in WooCommerce. Also, ensure your sandbox account currency matches your store’s currency, and confirm that WooCommerce email notifications are working correctly so order updates reach customers.
Missing Orders or Payments
If orders or payments are missing, check your PayPal IPN history to see if notifications are being sent and received. Sometimes, server issues or plugin conflicts can cause IPN failures. Enabling debug logging in WooCommerce can help diagnose these problems, just as debugging can resolve broader WordPress not sending emails issues.
PayPal Plugins and Extensions for WooCommerce
WooCommerce PayPal Payments
This official plugin offers advanced options for accepting PayPal payments on your WooCommerce store, including support for Google Pay, Apple Pay, and debit cards. It supports live mode for real payments and integrates seamlessly with WooCommerce Subscriptions for recurring payments.
PayPal Express Checkout
A streamlined checkout option that allows shoppers to pay quickly using their PayPal account or debit cards. It includes advanced options like pay later and supports shipping and billing details management.
WooCommerce PayPal Pro
Offers on-site credit card processing with PayPal Pro, allowing shoppers to pay without leaving your WordPress site. Supports advanced options and real payments.
PayPal for WooCommerce by Angell EYE
A robust plugin with features like enhanced messaging, shipping details management, and support for recurring payments with WooCommerce Subscriptions.
WooCommerce Subscriptions
While not a PayPal plugin itself, this extension works with PayPal to handle recurring payments and subscription billing on your WooCommerce site.
Frequently Asked Questions (FAQs) for WooCommerce PayPal Setup
How do I integrate PayPal with my WooCommerce store?
Install and activate a PayPal plugin like WooCommerce PayPal Payments, then configure your PayPal API credentials, IPN URL, and checkout settings in WooCommerce. Enable the PayPal gateway in your Payments settings and customize the button appearance and messaging as needed.
Is it necessary to have an SSL certificate for using PayPal with WooCommerce?
While PayPal Standard works without SSL, having an SSL certificate on your WordPress site is strongly recommended to secure billing, shipping, and payment data, and to improve shopper trust and SEO rankings.
Can I test PayPal transactions before going live?
Yes, use PayPal Sandbox mode with sandbox API credentials to simulate transactions without real payments. Ensure the sandbox currency matches your WooCommerce store currency to avoid errors.
What should I do if the PayPal payment option isn’t showing at checkout?
Verify that the PayPal payment gateway is enabled in WooCommerce Payments settings. Check for plugin conflicts and ensure your WooCommerce and PayPal plugin versions are compatible.
How do I handle refunds with PayPal in WooCommerce?
Refunds can be processed directly from the WooCommerce orders page if your PayPal plugin supports it. This will communicate with PayPal to issue the refund and update order status, and you can further brand these updates using WooCommerce email customizer plugins.
Does PayPal support multiple currencies in WooCommerce?
Yes, but you must configure your PayPal account and WooCommerce store to use the same currency to avoid payment issues.
What are the transaction fees for using PayPal with WooCommerce?
PayPal charges transaction fees based on your account type and sales volume. WooCommerce does not charge additional fees for PayPal payments, so you can protect margins while boosting revenue with WooCommerce coupon plugins to increase sales.
Can customers use PayPal without a PayPal account?
Yes, if you enable PayPal Account Optional in your PayPal account settings, shoppers can pay with debit cards or credit cards without creating a PayPal account.
How do I ensure my PayPal transactions are secure?
Use SSL on your WordPress site, keep your WooCommerce and PayPal plugins updated, and configure PayPal IPN and API credentials properly. Monitor transactions regularly.
What should I do if I encounter issues with PayPal transactions?
Check your IPN settings, verify API credentials, review debug logs, disable conflicting plugins, and consult PayPal IPN history. Contact your hosting provider if server issues persist.
Conclusion
Setting up PayPal on your WooCommerce store is a straightforward process that enables you to accept payments securely and efficiently. By choosing the right PayPal plugin and ensuring your account and site settings are correctly configured, you can provide your shoppers with a smooth checkout experience, including support for recurring payments through WooCommerce Subscriptions and popular payment options like Google Pay and Apple Pay. You can further grow revenue by implementing WooCommerce upsell plugins to increase sales. Always test your setup in sandbox mode before going live, and keep your WordPress site secure with SSL and regular maintenance to ensure real payments flow seamlessly to your business.