{"id":727,"date":"2019-10-25T07:37:01","date_gmt":"2019-10-25T07:37:01","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/setup-paypal-on-woocommerce-with-paypal-identity-token\/"},"modified":"2026-03-10T09:30:22","modified_gmt":"2026-03-10T09:30:22","slug":"how-to-setup-paypal-on-woocommerce-with-identity-token","status":"publish","type":"post","link":"\/ca\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","title":{"rendered":"PayPal identity token: how to set it up on WooCommerce for secure transactions"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>You&rsquo;re planning to use PayPal as the payment gateway for your WordPress online store made with WooCommerce, but you don&rsquo;t know where to start. Don&rsquo;t worry. this article will guide you through the process of setting up a PayPal account on WooCommerce.<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-reasons-to-configure-paypal-payment-gateway-on-woocommerce\">Reasons to Configure Paypal Payment Gateway on WooCommerce<\/h2><p>Having over 210 million active customers, <a href=\"https:\/\/www.paypal.com\/us\/home\" target=\"_blank\" rel=\"noopener\">PayPal<\/a> is one of the most popular <a href=\"\/ca\/tutorials\/what-is-payment-gateway\">payment gateways<\/a> on the market. As an international online payment service, It offers payment solutions for both online and offline businesses of all sizes. For this reason, PayPal is also a popular <a href=\"\/ca\/tutorials\/woocommerce-payment-gateways\">payment gateway for WooCommerce<\/a>.<\/p><p>Once you&rsquo;ve created an account (with no costs), you&rsquo;ll be able to accept payments with a reasonable <a href=\"https:\/\/www.paypal.com\/us\/webapps\/mpp\/merchant\" target=\"_blank\" rel=\"noopener\">fee<\/a> per transaction.<\/p><p>While WooCommerce has a built-in PayPal functionality, you&rsquo;ll still need to integrate it with your PayPal account first. Luckily, the setup process is easy and can be done in a matter of minutes.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-set-up-paypal-on-woocommerce\">How to Set Up PayPal on WooCommerce<\/h2><p>As the integration process requires a PayPal identity token, you&rsquo;ll need to signup for its <a href=\"https:\/\/www.paypal.com\/us\/webapps\/mpp\/merchant\" target=\"_blank\" rel=\"noopener\">Business Account<\/a> first. Visit their <a href=\"https:\/\/www.paypal.com\/us\/webapps\/mpp\/set-up-paypal-business-account\" target=\"_blank\" rel=\"noopener\">tutorial<\/a> on how to create an account if you haven&rsquo;t already.<\/p><h3 class=\"wp-block-heading\" id=\"h-step-1-obtaining-paypal-identity-token\">Step 1. Obtaining PayPal Identity Token<\/h3><p>The PayPal identity token is essential for verifying payments without using PayPal&rsquo;s Instant Payment Notification (IPN). The token allows your customers to track their payment process in a secure channel.<\/p><p>Here are the steps to obtain the identity token:<\/p><ol class=\"wp-block-list\">\n<li>Access your PayPal dashboard, then navigate to <strong>Account Settings<\/strong> -&gt; <strong>Website payments<\/strong>. Tap the <strong>Update<\/strong> link next to the <strong>Website preferences<\/strong> option.<br><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21588 size-large\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/paypal-website-preferences-1024x480.png\" alt=\"This image shows you the Update button of the Website preferences option to obtain PayPal's identity token.\" width=\"1024\" height=\"480\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n\n\n\n<li>Enable the <strong>Auto return for website payments<\/strong>, then add your store&rsquo;s thank you page link in the <strong>Return URL<\/strong> field.<br><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-21589\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/paypal-auto-return-for-website-payments-1024x482.png\" alt=\"This image shows you how to enable PayPal auto return for website payments option and add the return URL.\" width=\"1024\" height=\"482\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n\n\n\n<li>Enable the <strong>Payment data transfer<\/strong> as well. The identity token should appear at the bottom of the section.<br><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-21590\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/paypal-payment-data-transfer-1024x206.png\" alt=\"This image shows you how to enable Payment data transfer and obtain the identity token, which you will use to configure PayPal on WooCommerce.\" width=\"1024\" height=\"206\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-step-2-obtaining-api-credentials\">Step 2. Obtaining API Credentials<\/h3><p>If you want to allow refunds on your store via PayPal, you&rsquo;ll need its API credentials &mdash; <strong>Live API username<\/strong>,<strong> password<\/strong>, and<strong> signature<\/strong>.<\/p><p>To get PayPal&rsquo;s API credentials:<\/p><ol class=\"wp-block-list\">\n<li>From the PayPal dashboard, go to <strong>Account Settings<\/strong> -&gt; <strong>Account access<\/strong>. Press the <strong>Update<\/strong> link beside the <strong>API access<\/strong> option.<br><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21591 size-large\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/paypal-api-access-1024x482.png\" alt=\"This image shows you the Update button of the API access option.\" width=\"1024\" height=\"482\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n\n\n\n<li>Navigate to the <strong>NVP\/SOAP API integration (Classic)<\/strong> section, then click <strong>Manage API credentials<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-21592\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/paypal-manage-api-credentials-1024x206.png\" alt=\"This image shows you the NVP\/SOAP API integration (Classic) section.\" width=\"1024\" height=\"206\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n\n\n\n<li>On the <strong>Request API Credentials <\/strong>page, select the <strong>Request API signature<\/strong> option. Press <strong>Agree and Submit<\/strong>, and you&rsquo;ll see your API credentials on the next page.<\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-step-3-setting-up-paypal-on-woocommerce\">Step 3. Setting Up PayPal on WooCommerce<\/h3><p>Before we continue, make sure you&rsquo;ve <a href=\"\/ca\/tutorials\/wordpress\/how-to-install-wordpress-plugins\">installed the WooCommerce plugin<\/a>. Check this tutorial for a detailed step-by-step <a href=\"\/ca\/tutorials\/woocommerce-tutorial\">WooCommerce installation guide<\/a>.<\/p><p>Follow these steps to integrate PayPal into your <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" target=\"_blank\" rel=\"noopener\">WooCommerce store<\/a>:<\/p><ol class=\"wp-block-list\">\n<li>Go to your WordPress dashboard, then head over to <strong>WooCommerce<\/strong> -&gt; <strong>Settings<\/strong>.<\/li>\n\n\n\n<li>On the <strong>Payments<\/strong> tab, enable the <strong>PayPal<\/strong> option and click on the <strong>Set Up<\/strong> button next to it.<br><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"457\" class=\"aligncenter size-large wp-image-21593\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/woocommerce-payment-methods-1024x457.png\" alt=\"This image shows you how to enable PayPal as your WooCommerce store's payment gateway and access its settings page.\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n\n\n\n<li>Configure the <strong>Standard settings <\/strong>as follow:\n<ul class=\"wp-block-list\">\n<li><strong>Enable\/disable<\/strong> &mdash; check the box to enable PayPal as your payment gateway.<\/li>\n\n\n\n<li><strong>Title<\/strong> &mdash; fill it in with the checkout page heading.<\/li>\n\n\n\n<li><strong>Description<\/strong> &mdash; add a payment description or a message to your customers.<\/li>\n\n\n\n<li><strong>PayPal email<\/strong> &mdash; input the PayPal email you use to collect payments. <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Set up the <strong>Advanced options<\/strong> section as so:\n<ul class=\"wp-block-list\">\n<li><strong>PayPal sandbox<\/strong> &mdash; while it allows you to test PayPal payments, you need to leave it unchecked as it requires a developer account.<\/li>\n\n\n\n<li><strong>Debug log<\/strong> &mdash; check the box if you want to log all PayPal events.<\/li>\n\n\n\n<li><strong>IPN Email Notifications<\/strong> &mdash; tick the box to be notified of refunds, chargebacks, and cancellations.<\/li>\n\n\n\n<li><strong>Receiver email<\/strong> &mdash; add the email address that will receive the notifications.<\/li>\n\n\n\n<li><strong>PayPal identity token<\/strong> &mdash; input the identity token from PayPal.<\/li>\n\n\n\n<li><strong>Invoice prefix<\/strong> &mdash; if you connect the PayPal account to multiple stores, you can add a combination of letters and numbers to help you differentiate your invoices.<\/li>\n\n\n\n<li><strong>Shipping details<\/strong> &mdash; check the box to let PayPal create shipping labels instead of billing the customers directly.<\/li>\n\n\n\n<li><strong>Address override<\/strong> &mdash; leave it unchecked to prevent customers from changing their address.<\/li>\n\n\n\n<li><strong>Payment action<\/strong> &mdash; choose <strong>Capture<\/strong> to process the payments immediately or <strong>Authorize<\/strong> to approve them manually.<\/li>\n\n\n\n<li><strong>Page style<\/strong> &mdash; input the name of the PayPal page style you want to use for the checkout page.<\/li>\n\n\n\n<li><strong>Image URL<\/strong> &mdash; allows you to display a 150x50px image in the upper left corner of the checkout page. <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Finally, configure the <strong>API credentials<\/strong> section using the information you collected from PayPal.<\/li>\n\n\n\n<li>Once done, click<strong> Save Changes<\/strong>.<\/li>\n<\/ol><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-full\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-woocommerce-hosting\" href=\"\/ca\/woocommerce-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/06\/Woocommerce-hosting-x-WP_in-text-banner.png\" alt=\"\" class=\"wp-image-111779\"  sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>Having a payment gateway is essential for every eCommerce store. Fortunately, WooCommerce includes a built-in PayPal functionality ready to help you right from the start.&nbsp;Once you have integrated the store with your PayPal account, you&rsquo;ll be able to receive payments from your customers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You&rsquo;re planning to use PayPal as the payment gateway for your WordPress online store made with WooCommerce, but you don&rsquo;t know where to start. Don&rsquo;t worry. this article will guide you through the process of setting up a PayPal account on WooCommerce. Reasons to Configure Paypal Payment Gateway on WooCommerce Having over 210 million active [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ca\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to Set Up PayPal on WooCommerce with PayPal Identity Token","rank_math_description":"Planning to use PayPal as the payment gateway for your WooCommerce store? Check out this tutorial on how to set up PayPal on WooCommerce!","rank_math_focus_keyword":"woocommerce paypal","footnotes":""},"categories":[22693,22692],"tags":[],"class_list":["post-727","post","type-post","status-publish","format-standard","hentry","category-woocommerce","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/configurer-paypal-sur-woocommerce","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/configurar-paypal-en-woocommerce","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/configurar-paypal-en-woocommerce","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/configurar-paypal-en-woocommerce","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/configurar-paypal-en-woocommerce","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-setup-paypal-on-woocommerce-with-identity-token","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/comments?post=727"}],"version-history":[{"count":28,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/727\/revisions"}],"predecessor-version":[{"id":138866,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/727\/revisions\/138866"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media?parent=727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/categories?post=727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/tags?post=727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}