{"id":1448,"date":"2023-05-21T20:38:41","date_gmt":"2023-05-21T19:38:41","guid":{"rendered":"https:\/\/greatsite.dev\/makegreatsite\/docs\/payment-methods\/connecting-paypal-as-a-payment-method\/"},"modified":"2023-05-26T22:28:08","modified_gmt":"2023-05-26T21:28:08","slug":"connecting-paypal-as-a-payment-method","status":"publish","type":"docs","link":"https:\/\/greatsite.dev\/makegreatsite\/docs\/payment-methods\/connecting-paypal-as-a-payment-method\/","title":{"rendered":"Connecting PayPal as a payment method"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">PayPal is a reliable and convenient payment service that helps to easily accept and process payments in your online store. PayPal is available&nbsp;<a href=\"https:\/\/www.paypal.com\/pn\/webapps\/mpp\/country-worldwide\" target=\"_blank\" rel=\"noreferrer noopener\">in over 200 countries worldwide<\/a>. If your country is not on the list yet, you can connect another payment service to receive payments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Important:&nbsp;Payment methods are available on Pro and Trial websites.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order to connect PayPal to your MakeGreatSite, follow these instructions:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting client ID and secret key<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open&nbsp;<a href=\"https:\/\/developer.paypal.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.paypal.com<\/a>&nbsp;and click on the&nbsp;<strong>&#8216;Log into Dashboard&#8217;<\/strong>&nbsp;button in the upper right corner;<\/li>\n\n\n\n<li>Move to the&nbsp;<strong>&#8216;Sandbox Accounts&#8217;<\/strong>&nbsp;section and click on the&nbsp;<strong>&#8216;Create Account&#8217;<\/strong>&nbsp;button to create a developer account;<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-1_2vhdyq-1024x585.png\" alt=\"\" class=\"wp-image-1449\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-1_2vhdyq-1024x585.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-1_2vhdyq-300x171.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-1_2vhdyq-768x438.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-1_2vhdyq.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. Move to the&nbsp;<strong>&#8216;My Apps and Credentials&#8217;<\/strong>&nbsp;section and \u0438 click on the&nbsp;<strong>&#8216;Create App&#8217;<\/strong>&nbsp;button;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-2_15kh6n5-1024x585.png\" alt=\"\" class=\"wp-image-1451\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-2_15kh6n5-1024x585.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-2_15kh6n5-300x171.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-2_15kh6n5-768x438.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-2_15kh6n5.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4. <strong>Create a name<\/strong>&nbsp;for your PayPal app, select the developer account you created earlier and click on the&nbsp;<strong>&#8216;Create App&#8217;<\/strong>&nbsp;button;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-3_vqoqj1-1024x585.png\" alt=\"\" class=\"wp-image-1452\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-3_vqoqj1-1024x585.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-3_vqoqj1-300x171.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-3_vqoqj1-768x438.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-3_vqoqj1.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">5. Once the app has been created, you will be redirected to a different page, where you&#8217;ll be able to&nbsp;<strong>get a test client ID and secret key<\/strong>&nbsp;credentials;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-4_cyqag1-1024x585.png\" alt=\"\" class=\"wp-image-1453\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-4_cyqag1-1024x585.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-4_cyqag1-300x171.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-4_cyqag1-768x438.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-4_cyqag1.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">6. In order to&nbsp;<strong>get live client ID and secret key credentials<\/strong>, move back to the&nbsp;<strong>&#8216;My Apps &amp; Credentials&#8217;<\/strong>&nbsp;section, select the&nbsp;<strong>&#8216;Live mode&#8217;<\/strong>&nbsp;and then&nbsp;<strong>click on the name of your app<\/strong>, in order to be redirected to the page with the live credentials;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-5_aj3ls0-1024x585.png\" alt=\"\" class=\"wp-image-1454\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-5_aj3ls0-1024x585.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-5_aj3ls0-300x171.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-5_aj3ls0-768x438.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/10-5_aj3ls0.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Activating PayPal in your site settings on MakeGreatSite<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open your&nbsp;<strong>site settings<\/strong>&nbsp;and move to the&nbsp;<strong>&#8216;Payment methods&#8217; section<\/strong>;<\/li>\n\n\n\n<li><strong>Locate PayPal<\/strong>&nbsp;on the list of available payment methods;<\/li>\n\n\n\n<li>Click on the&nbsp;<strong>&#8216;Connect&#8217; button<\/strong>&nbsp;beside the PayPal logo and description text;<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"760\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/11-1_7m9hie-1024x760.png\" alt=\"\" class=\"wp-image-1455\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/11-1_7m9hie-1024x760.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/11-1_7m9hie-300x223.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/11-1_7m9hie-768x570.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/11-1_7m9hie.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. In order to connect PayPal in test mode, first&nbsp;<strong>activate the test mode via the switcher<\/strong>&nbsp;(1), then&nbsp;<strong>transfer the test client ID<\/strong>&nbsp;(2) and&nbsp;<strong>secret key<\/strong>&nbsp;(3) to the relevant fields. Copy the same credentials to the&nbsp;<strong>live mode fields<\/strong>&nbsp;(4 and 5) in the &#8216;Connection&#8217; section;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. In order to connect PayPal in live mode,&nbsp;<strong>transfer the client ID<\/strong>&nbsp;(4) and&nbsp;<strong>secret key<\/strong>&nbsp;(5) credentials to the relevant fields in the &#8216;Connection&#8217; section. The&nbsp;<strong>test mode switcher<\/strong>&nbsp;(1) must be&nbsp;<strong>turned off<\/strong>;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. Add a link to the page that will be shown to users in case of a&nbsp;<strong>successful payment<\/strong>&nbsp;(6) and another link that will redirect to a page in case the&nbsp;<strong>payment fails<\/strong>&nbsp;(7). If you haven&#8217;t created those pages yet, you can do this by following our guide about&nbsp;<a href=\"https:\/\/greatsite.dev\/makegreatsite\/docs\/getting-started\/adding-pages-and-subpages\/\" target=\"_blank\" rel=\"noreferrer noopener\">adding pages<\/a>. You can also refer to this guide to learn more about creation of a &#8216;Thank you&#8217; page:&nbsp;<a href=\"https:\/\/greatsite.dev\/makegreatsite\/docs\/site-editing\/creating-a-thank-you-page\/\" target=\"_blank\" rel=\"noreferrer noopener\">Creating a Thank You page<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6. Add a&nbsp;<strong>title of the payment method<\/strong>&nbsp;(8 ) that will be displayed on checkout;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">7. Click on&nbsp;<strong>&#8216;Save&#8217;<\/strong>&nbsp;in the upper part of the screen, to apply the changes:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">8. Move back to the&nbsp;<strong>&#8216;Payment methods&#8217;<\/strong>&nbsp;section and&nbsp;<strong>turn on the PayPal switcher<\/strong>&nbsp;under the &#8216;Connected payment methods&#8217;;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">9. Now your customers will see PayPal on their checkout page and will be able to pay for products and services using their preferred payment method.<\/p>\n","protected":false},"featured_media":0,"parent":465,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1448","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/1448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/comments?post=1448"}],"version-history":[{"count":2,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/1448\/revisions"}],"predecessor-version":[{"id":1744,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/1448\/revisions\/1744"}],"up":[{"embeddable":true,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/465"}],"next":[{"title":"Setting up manual payment in your online store","link":"https:\/\/greatsite.dev\/makegreatsite\/docs\/payment-methods\/setting-up-manual-payment-in-your-online-store\/","href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/1824"}],"prev":[{"title":"Connecting Stripe to your online store","link":"https:\/\/greatsite.dev\/makegreatsite\/docs\/payment-methods\/connecting-stripe-to-your-online-store\/","href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/1430"}],"wp:attachment":[{"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/media?parent=1448"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/doc_tag?post=1448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}