Connect your WooCommerce website to PayPal using steps described here to accept payments from your customers. WooCommerce is a plugin that turns a WordPress website into an e-commerce store. Also, there are few WooCommerce settings that need to set before bringing the website into production.
Checkout is one among them and PayPal payment gateway is already present there. Just, you must configure those settings correctly to let visitors pay you successfully. While the most inputs are self-explanatory, few need to describe their purpose more. Here we are explaining them better to you. So that you can fill proper values in order to connect WooCommerce website to Paypal and accept payments.
Integrate WooCommerce Website to Paypal
Go to WooCommerce -> Settings-> Checkout and PayPal then. You have to enable PayPal Standard to integrate PayPal with your website. Also, know a few things before you begin. You need a PayPal business account (free) or premier.
Also, the PayPal and your WooCommerce website integration need to meet certain system requirements. You can check them at WooCommerce -> Status -> System status. You might need to ask the host to update if certain requirements don’t meet.
It isn’t compulsory to have an SSL certificate installed on your website but it has many benefits. SSL keeps any information transmitted to and from your site secure like your or customer’s username/password. It’s also becoming a ranking factor to search result pages. So we recommend installing an SSL certificate to your WooCommerce website.
PayPal Basic Options
Title, Description and PayPal email
The customer sees the Title and Description at checkout page on your website. While the defaults are enough, you’re free to change them. Enter your PayPal login email to “PayPal email” field.
PayPal sandbox allows you to test your checkout process without taking real money. It’s helpful during development of your WooCommerce website. Just, you need a separate PapPal developer account. Also, don’t forget to disable sandbox and update values before making the site live.
Enabling “Debug log”, writes PayPal logs in a file in your WordPress installation location. If something goes weird with your PayPal process, enable logging. Further, check the log from the file path given. The log is a text file and you can download that using a FTP software and sufficient credentials.
IPN Email Notifications
WooCommerce has added option “IPN Email Notifications” since version 3.3.3 and it’s optional. Paypal sends Instant Payment Notifications to the website when you receive a payment or issue a refund. It’s also true in case of a chargeback or cancellation in your account.
You have to set PayPal IPN URL in your PayPal dashboard to receive notifications. Go to Profile -> Profile and settings -> My selling tools. Then click on Instant payment notifications to set your URL. The URL format is as below:
Replace the protocol (HTTP or HTTPS) and www.yourwebsite.com with your own domain.
PayPal allows you to add up to 7 email addresses. The email address you use to log in there is your main email address. If you haven’t written the main email to “PayPal email” field, add that to the “Receiver email” field. You need filling this field only if you wish to process IPN and you haven’t supplied the main email.
PayPal identity token
Optionally, you can also verify successful payments if you have IPN issues. You have to enable Payment Data Transfer option in your PayPal account to use this feature. Go to Profile -> Profile and settings -> Selling tools -> Selling online. Hit the Update button right to Website preferences and enable Payment Data Transfer.
Finally, copy the identity token and paste into the field. Note that IPN and identity token both are optional in WooCommerce settings.
WooCommerce automatically generates invoice numbers and appends the prefix supplied here. If you have two or more websites or stores then provide unique prefixes to each. As PayPal doesn’t process orders with same invoice number for the same account.
WooCommerce website sends either billing or shipping address along with the order information to process. Check this field since PayPal requires the buyer’s shipping address for Seller Protection. Sending billing address might cause failure in Seller Protection and lose your earning.
PayPal allows customers to change address information at payment pages if you keep the option unchecked. If PayPal couldn’t verify the shipping address sent by the website then the customer can modify it there. So that the address verification can take place.
While enabling this option prevents any change in address by the customer at PayPal, it might cause verification failure. So keep the option disabled to prevent such error.
There are two payment actions Capture and Authorize available. The Capture action captures the money for you from the customer immediately. Whereas Authorize action ensures that the account has enough credit but doesn’t transfer money. You have to capture the fund at a later time.
If you wish to receive full payment before processing an order, the Capture action is for you. In case of authorization, you might need an additional plugin to capture the payment. Alternatively, you can also capture the authorized payment later within PayPal dashboard.
PayPal has removed this feature. You were able to set a page style within PayPal dashboard for your checkout pages there in past. It used to display a customized checkout style instead of classic checkout screens to your customers.
You can display a custom logo image to your PayPal payment pages rather than default business name. While the recommended image size is 150×50 pixel, 190x60pixel at maximum also works. Upload your custom logo image to WordPress using Media -> Add New. Further, copy the image URL and paste into this field.
If you wish to process refunds via PayPal within your WooComerce website then set API credentials to connect.
PayPal offers two types of API credentials. Signature API credentials and Certificate API credentials. Go to Profile -> Profile and settings -> My selling tools -> Selling online. Click on Update link right to API access and Request API Credentials after that.
While the Certificate API credentials are better secure, they tend to expire after every 3 years. Signature API credentials are also good. However, it’s your choice to select which credentials you wish to manage and use.
Click on PayPal API Credentials link given before the API input fields to know more about them. Once you have obtained the credentials, fill them to respective API fields. Now click on Save changes button at the bottom to save all changes.
Auto Return to WooCommerce Website from PayPal
PayPal redirects the customer to your website after the payment or cancellation. WooCommerce properly handles this by displaying an appropriate message to the customer on the receipt page. However, set up Auto-Return from My selling tools -> Website preferences in PayPal dashboard. It ensures to credit transactions to the original traffic source rather than PayPal.
Use the URL to set Auto-return in PayPal dashboard. Just replace the protocol (HTTP or HTTPS) and www.yourwebsite.com with your own domain.
So it’s all about connecting your WooCommerce website to Paypal. Hope now you have a better understanding of PayPal and WooCommerce to setup and accept payments. Do you still have any query regarding WooCommerce store or integration? Comment in the form below and we will try our best to answer you.