Accepting PayPal in WooCommerce
Most users will want to accept PayPal within their site built with WordPress and WooCommerce. In this article, we will show you how to accept PayPal with just a few easy steps.
First, you will need to log into your WordPress admin dashboard.
From within your WordPress dashboard, hover over WooCommerce, then click on Settings.
Within your WooCommerce settings page, click on the tab at the top that says Checkout, then click on PayPal.
Here, you will see the various options for setting up payments through PayPal. We'll go over a few important ones here:
Enable/Disable This checkbox will need to be checked to enable checkout via PayPal on your site. Title This determines what is displayed to your user within the checkout options. You may enter anything you want here, but keep in mind that it will show to all users on your site during the checkout process. By default, it will display PayPal. Description This is similar to the Title option. This is the description for PayPal that will be displayed within the your checkout page. PayPal Email In this field, enter the email address associated with your PayPal account. Receiver Email This is an optional field that is only needed if you want to send notifications to another email address that is not associated with the PayPal account. If you want to do this, enter that email address here. PayPal Identity Token This is an optional field that will allow you to identify pending and successful payments without the need for PayPal IPN. To obtain your identifier, log into your PayPal account, click on Profile, then click on Website Payment Preferences. Here, enable Payment Data Transfer. You will then see your PayPal Identity Token displayed. Invoice Prefix This is a unique identifier that will be displayed before any invoice numbers. For example, if you set it to InMotion-, an example invoice number would be InMotion-00000001. Payment Action This option determines if payments will be captured when submitted, or require autorization first. Most users will want to set this to Capture.
After you have set all of the options within the WooCommerce configuration, you're now ready to accept payments via PayPal.
Support Center Login
Social Media Login
2014-06-05 6:06 pm
Can I ask when would be better to use PayPal Identity Token and when to use regular IPN. i.e. what's the advantage?
2014-06-05 6:27 pm
Hello dbosc, and thanks for your comment.
The PayPal Identity Token setting that is found in WooCommerce is for if you'd like to use the PayPal Payment Data Transfer or PDT. This allows you to verify payments without having to use the PayPal Instant Payment Notification API or IPN.
It's just another way to securely confirm a PayPal payment, and not as robust as the IPN API. For instance PDT wasn't meant to process credit cards or Express Checkout transactions. If you check out that link for the IPN API they have a good explanation of why you might want to use it:
Instant Payment Notification (IPN) notifies merchants almost instantly about transaction events, such as:
Payments received, including Express Checkout, and Adaptive Payments.
Credit card authorizations.
eCheck payments and related pending, completed, or denied status events.
Recurring payments and subscription actions.
Chargebacks, disputes, reversals, and refunds.
Hope that helps! Let us know if you have any other questions at all.