PayPal clientID and secret

Today I want to show you how to create PayPal client ID and secred code for your modules that will use PayPal api to work. For example my PayPal connect module uses these two codes (clientID + secret). Check this step by step guide to get own unique codes that are necessary for PayPal apps!

 

 

Paypal account

Of course you need your PayPal account to get these codes. As I suppose you already have this account to get payments from your customers :-) So, if you've got account go to next step, if you havent got the account - create it first on paypal page - then you can follow next steps described below.

 

PayPal developer page

To get own unique clientID and secret codes you have to open PayPal developer page. This is a page where you can manage your PayPal apps. Please log in to your account, just press on blue Log in button available on the right top section of the page (see screenshot below)

 

paypal developer page

 

You will see PayPal authentication page (login form). Just type your account credentials and log in. You will be automatically redirected to developers page, where you will be able to see your name and logout button (this is kind of confirmation that you were logged correctly). Then open "dashboard" section and click on blue button "Create App" (see screenshot). You will be redirected to page where you will see simple form with two fields (like on screenshot below)

  1. App Name - To field "App name" put your app name. It can be anything, just put there anything you want for example "PayPal login". This field isn't used anywhere inside your app. It is only for your view to distinct apps on list of apps.
  2. Sandbox developer account - select your email account from this list. You can select also other emails if you added some PayPal developer sandbox accounts before.

 

app creation process prestashop paypal

 

Application details

After you will press on "create app" button to confirm app name (screenshot above). You will be redirected to app details page. There you have to define several things. Let me explain what you have to do. Firstly: switch app to "LIVE" mode like on this screenshot. After that scroll page down and to:

  1. Return URL field put the return url that is available on module configuration page (it's very important, copy url carefully). You can check screenshot for reference: screenshot
    Accept Payments - uncheck this option
  2. Invoicing - uncheck this option
  3. Payouts - uncheck this option
  4. PayPal Here - uncheck this option
  5. Log In with PayPal - only this option must be selected, click on "Advanced Options" button to see additional form

 

Advanced options of "Log in with PayPal"

Please check all avalable checkboxes under "Information requested from customers". I mean - there are 3 additional checkboxes - please select them all as on screenshot. Inside fields "Privacy policy URL" and "User agreement URL" please enter an url to your shop terms and conditions page. In case of configuration on paypal side - that's all. Your client ID and secred are ready to use!

 

Of course after changes please save settings (dont forget about it, lol)

live app settings paypal

 

ClientID + Secret

Okay, everything is ready now. You can copy the ClientID and Secret to your PayPal module configuration page. You can find these two strings at the top of your app details page, like on screenshot below. One suggestion: before you will copy these strings, make sure that you selected "LIVE" version, not the "Sandbox"!

 

paypal secret clientid

 

 

 

 

 

 

 

 

 

author milos myszczuk
Article by Milosz Myszczuk PrestaShop expert, official PrestaShop community moderator. PHP developer, specialist in relative and spatial databases management, GIS Analyst, CEO & founder of VEKIA interactive agency. Read more about VEKIA company
If you like my articles and want much more valuable tips, feel free to send me donation
1.4 version 1.4.11 1.6 404 addon admin advertise ahref ajax alpha animation api app application authentication back office backup badge banner basics block bootstrap button cache carrier cart catalog category certificate changelog chat class clear client clip cms code colors columns comments configuration contact container content controller cookie counter country coupon css csv currency customer dashboard database debug default delete delivery desktop developer device disable discount displayNav displayTop download dynamic editor effect empty encrypt engine error exchange exclude export facebook faceshop fade fancoupon fancybox fanpage fatal feature feed field file fix fixed font footer free friendly url front ftp full gallery generate gift global godaddy google google+ gray grid groupon header help hide highlight homefeatured homepage hook hosting hover howto htaccess html html5 ID image import include input instagram installation integration iPhone issue javascript jquery kgb knowhow languages law left likebox link list livingsocial loading log login logo loyality mail mailing maintenance manufacturer marketing marquee mcrypt menu meta mobile modification module movie moving multilanguage multiupload must have mysql news newsletter notification number open graph order override page password performance PHP phpmyadmin picture pinterest plugin popup post prestashop prestashop 1.0 prestashop 1.1 prestashop 1.2 prestashop 1.3 prestashop 1.4 prestashop 1.5 price rules problem product profile promotion proslider purifier quantity query quick tip random rates register reinsurance release reporting reset responsive restore results ribbon rich text right sales search security seo service shadow share shipping shop shopmania slider smarty social networks SQL SSL statistics stock store style subcategory superuser support switcher tab tablet tag tax template text theme tinyMCE tips and tricks tpl tracking translations tree trends trigger tumblr tutorial twitter update upgrade upload variables video visits voucher vulnerability web2print wide widget width window wishlist wysiwyg youtube zip zopim