PayPal Name-Value Pair API - 2013 Uživatelská příručka Strana 20

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 318
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 19
PayPal Name-Value Pair API Basics
Creating an NVP Request
1
20 February 01, 2013 Name-Value Pair API Developer Guide
SUBJECT=merchantEmailAddress
NOTE: Typically, a merchant grants third-party permissions to a shopping cart. The merchant
previously must have given you permission to execute the API operation.
Specifying Credentials Using cURL
The following example shows one way to specify a signature using cURL:
curl --insecure https://api-3t.sandbox.paypal.com/nvp -d ^
"METHOD=name^ &VERSION=XX.0^ &USER=API_username^ &PWD=API_password^
&SIGNATURE=API_signature^ &..."
NOTE: This example does not establish a secure connection and should not be used live on
paypal.com.
URL Encoding
All requests to execute PayPal API operations sent using HTTP must be URL-encoded. The
encoding ensures that you can transmit special characters, characters that are not allowed in a
URL, and characters that have special meaning in a URL, such as the equal sign and
ampersand.
The PayPal NVP API uses the HTTP protocol to send requests and receive responses from a
PayPal API server. You must encode all data sent using the HTTP protocol because data that is
not encoded could be misinterpreted as part of the HTTP protocol instead of part of the
request. Most programming languages provide a way to encode strings in this way. You
should consistently URL-encode the complete API request; otherwise, you may find that
unanticipated data causes an error.
NOTE: An HTTP form is automatically URL-encoded by most browsers.
For example, consider the following NVP string:
NAME=Robert Moore&COMPANY=R. H. Moore & Associates
It is encoded as follows:
NAME=Robert+Moore&COMPANY=R.+H.+Moore+%26+Associates
Use the following methods to URL-encode or URL-decode your NVP strings:
Encoding and decoding methods for URLs
Language Method
ASP.NET Encode System.Web.HttpUtility.UrlEncode(buffer,
Encoding.Default)
Decode System.Web.HttpUtility.UrlDecode(buffer,
Encoding.Default)
Zobrazit stránku 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 317 318

Komentáře k této Příručce

Žádné komentáře

Velleman VTMUS3 manuály

Uživatelské manuály a uživatelské příručky pro Nástroje Velleman VTMUS3.
Poskytujeme 1 manuály pdf Velleman VTMUS3 ke stažení zdarma podle typů dokumentů: Uživatelský manuál


Velleman VTMUS3 Uživatelský manuál (13 strany)


Značka: Velleman | Kategorie: Tools | Velikost: 0.33 MB |

    




Další produkty a příručky pro Nástroje Velleman

Modely Typ Dokumentu
VTLAN6 Uživatelský manuál       Velleman VTLAN6 User Manual, 44 stránky
VTLAN7 Uživatelský manuál       Velleman VTLAN7 User Manual, 58 stránky
VTTEST11 Uživatelský manuál      Velleman VTTEST11 User Manual, 11 stránky
VTLD100 Uživatelský manuál      Velleman VTLD100 User Manual [en] [de] , 47 stránky
VTUSD3 Uživatelský manuál        Velleman VTUSD3 User Manual, 22 stránky
DCA150 Uživatelský manuál      Velleman DCA150 User Manual, 10 stránky
DVM890CS Uživatelský manuál   Velleman DVM890CS User Manual, 3 stránky
EVM892 Uživatelský manuál      Velleman EVM892 User Manual, 80 stránky
DVM321 Uživatelský manuál        Velleman DVM321 User Manual, 23 stránky
DVM8681 Uživatelský manuál        Velleman DVM8681 User Manual, 22 stránky
DVM805 Uživatelský manuál       Velleman DVM805 User Manual, 11 stránky
DVM105 Uživatelský manuál      Velleman DVM105 User Manual, 31 stránky
DVM831 Uživatelský manuál      Velleman DVM831 User Manual, 60 stránky
GASIRON2 Uživatelský manuál      Velleman GASIRON2 User Manual, 9 stránky
3472BP Uživatelský manuál      Velleman 3472BP User Manual, 11 stránky
EVM851 Uživatelský manuál      Velleman EVM851 User Manual, 44 stránky
ECM1 Uživatelský manuál      Velleman ECM1 User Manual, 21 stránky
DVM840 Uživatelský manuál      Velleman DVM840 User Manual, 49 stránky
DVM171THD Uživatelský manuál       Velleman DVM171THD User Manual, 40 stránky
DVM68 Uživatelský manuál      Velleman DVM68 User Manual, 55 stránky