User Tools

Site Tools


admin_dashboard:system_admin:system_settings:create_sandboxpaypaladaptiveapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
admin_dashboard:system_admin:system_settings:create_sandboxpaypaladaptiveapi [2015/07/29 09:53]
mooeditor [Encrypting your certificate]
admin_dashboard:system_admin:system_settings:create_sandboxpaypaladaptiveapi [2015/07/29 09:56]
mooeditor [3. Generate the Certificate set]
Line 57: Line 57:
 ==== 3. Generate the Certificate set ==== ==== 3. Generate the Certificate set ====
  
-  - +1.Click **Request API Credentials** on the **API Access** page:
- +
-Click **Request API Credentials** ​ on the **API Access** ​ page:+
  
 {{https://​www.paypalobjects.com/​webstatic/​en_US/​developer/​docs/​api/​classicApiCerts/​requestApiCreds.png?​nolink&​}} {{https://​www.paypalobjects.com/​webstatic/​en_US/​developer/​docs/​api/​classicApiCerts/​requestApiCreds.png?​nolink&​}}
  
-**Note:​** ​ If you’ve already generated a set of API credentials,​ you’ll have to delete your existing set before you can generate a new set of credentials. +**Note:** If you’ve already generated a set of API credentials,​ you’ll have to delete your existing set before you can generate a new set of credentials.
- +
-  -+
  
-Select **Request API signature** ​ and click **Agree and Submit** ​ to generate a set of Signature credentials.+2.Select **Request API signature** and click **Agree and Submit** to generate a set of Signature credentials.
  
 Here’s an example showing a set of Signature credentials (for [[https://​developer.paypal.com/​docs/​classic/​api/​apiCredentials/#​certs|Certificate]] credentials,​ see the section below): Here’s an example showing a set of Signature credentials (for [[https://​developer.paypal.com/​docs/​classic/​api/​apiCredentials/#​certs|Certificate]] credentials,​ see the section below):
Line 133: Line 129:
 The steps to encrypt your certificate require the OpenSSL encryption tool. While Unix users likely have this tool installed with their operating system, Windows users need to download OpenSSL. Accept the defaults to install OpenSSL. The steps to encrypt your certificate require the OpenSSL encryption tool. While Unix users likely have this tool installed with their operating system, Windows users need to download OpenSSL. Accept the defaults to install OpenSSL.
  
-  -+1.Open a command prompt.
  
-Open a command prompt. \\ In Windows, select **Start > Programs > Accessories > Command Prompt**. +In Windows, select **Start > Programs > Accessories > Command Prompt**.
- +
-  - +
- +
-Ensure OpenSSL bin directory is in your system path. If it is not, add it to your path. +
- +
-  -+
  
-Change directories to the location of the certificate you want to encrypt (''​cert_key_pem.txt''​) and execute the following command:+2.Ensure OpenSSL bin directory is in your system path. If it is not, add it to your path.
  
-<code asp> ''​openssl pkcs12 -export -in cert_key_pem.txt -inkey cert_key_pem.txt -out paypal_cert.p12'' ​ </​code>​+3.Change directories to the location of the certificate you want to encrypt (''​cert_key_pem.txt''​) and execute the following command: 
 +<code asp> 
 + ''​openssl pkcs12 -export -in cert_key_pem.txt -inkey cert_key_pem.txt -out paypal_cert.p12''​ 
 +</​code>​
  
-**Note:​** ​ When encrypting a certificate,​ you’re prompted for a password that you use to decrypt the file. Enter a password at the **Enter Export Password** ​ prompt and be sure to store it in a secure location.+**Note:** When encrypting a certificate,​ you’re prompted for a password that you use to decrypt the file. Enter a password at the **Enter Export Password** prompt and be sure to store it in a secure location.
  
 The above process creates a file named ‘paypal_cert.p12’,​ your encrypted API certificate. The above process creates a file named ‘paypal_cert.p12’,​ your encrypted API certificate.
Line 153: Line 146:
 === Installing the certificate for .NET or Classic ASP === === Installing the certificate for .NET or Classic ASP ===
  
-If you’re using either the PayPal SDK for .NET or the SDK for Classic ASP, you need to //​install// ​ the encrypted certificate.+If you’re using either the PayPal SDK for .NET or the SDK for Classic ASP, you need to //install// the encrypted certificate.
  
 If you’re developing with the PayPal SDK for .NET, Windows requires you to import the certificate into the Windows Certificate Store and grant access to your private key to the user executing your web application. Microsoft provides a utility that accomplishes these tasks in a single command. The utility, called the Windows HTTP Services Certificate Configuration Tool (or WinHttpCertCfg.exe) is freely available from Microsoft. If you’re developing with the PayPal SDK for .NET, Windows requires you to import the certificate into the Windows Certificate Store and grant access to your private key to the user executing your web application. Microsoft provides a utility that accomplishes these tasks in a single command. The utility, called the Windows HTTP Services Certificate Configuration Tool (or WinHttpCertCfg.exe) is freely available from Microsoft.
admin_dashboard/system_admin/system_settings/create_sandboxpaypaladaptiveapi.txt · Last modified: 2015/08/24 01:12 (external edit)