PayPal Express Checkout - 2012 Betriebsanweisung Seite 22

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 78
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 21
Getting Started With Express Checkout
Implementing the Simplest Express Checkout Integration
22 August 7, 2012 Express Checkout Integration Guide
<form method=post action=https://api-3t.sandbox.paypal.com/nvp>
<input type=hidden name=USER value=API_username>
<input type=hidden name=PWD value=API_password>
<input type=hidden name=SIGNATURE value=API_signature>
<input type=hidden name=VERSION value=XX.0>
<input type=hidden name=PAYMENTREQUEST_0_PAYMENTACTION
value=Sale>
<input name=PAYMENTREQUEST_0_AMT value=19.95>
<input type=hidden name=RETURNURL
value=https://www.YourReturnURL.com>
<input type=hidden name=CANCELURL
value=https://www.YourCancelURL.com>
<input type=submit name=METHOD value=SetExpressCheckout>
</form>
NOTE: Use an API username from a Sandbox business test account for which a signature
exists. See the Test Certificates tab of the Sandbox to obtain a signature. If you are not
using a signature, you must use a different Sandbox server.
IMPORTANT: This example does not establish a secure connection and should not be used
live on paypal.com.You must protect the values for USER, PWD, and
SIGNATURE in your implementation. Consider storing these values in a secure
location other than your web server document root and setting the file
permissions so that only the system user that executes your ecommerce
application can access it.
2. Review the response string from the SetExpressCheckout API operation.
PayPal responds with a message, such as the one shown below. Note the status, which
should include ACK set to Success, and a token that is used in subsequent steps.
TIMESTAMP=2007%2d04%2d05T23%3a23%3a07Z
&CORRELATIONID=63cdac0b67b50
&ACK=Success
&VERSION=XX%2e000000
&BUILD=1%2e0006
&TOKEN=EC%2d1NK66318YB717835M
3. If the operation was successful, use the token and redirect your browser to the Sandbox to
log in, as follows:
Seitenansicht 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 77 78

Kommentare zu diesen Handbüchern

Keine Kommentare