PayPal Express Checkout - 2012 Betriebsanweisung Seite 19

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 78
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 18
Express Checkout Integration Guide August 7, 2012 19
Getting Started With Express Checkout
Implementing the Simplest Express Checkout Integration
METHOD=GetExpressCheckoutDetails
VERSION=XX.0
2. Specify your API credentials.
Use the following parameters for a signature:
USER=API_username
PWD=API_password
SIGNATURE=API_signature
3. Specify the token returned by PayPal when it redirects the buyers browser to your site.
PayPal returns the token to use in the token HTTP request parameter when redirecting to
the URL you specified in your call to the SetExpressCheckout API.
TOKEN=tokenValue
4. Execute the GetExpressCheckoutDetails API to obtain information about the buyer.
5. Access the fields in the GetExpressCheckoutDetails API response.
NOTE: Only populated fields are returned in the response.
Completing the Express Checkout Transaction
To complete an Express Checkout transaction, you must invoke the
DoExpressCheckoutPayment API operation.
This example assumes that PayPal redirects your buyers browser to your website with a valid
token after you call the SetExpressCheckout API. Optionally, you may call the
GetExpressCheckoutDetails API before calling the DoExpressCheckoutPayment
API.
In the simplest case, you set the total amount of the order when you call the
SetExpressCheckout API. However, you can change the amount before calling the
DoExpressCheckoutPayment API if you did not know the total amount when you called
the SetExpressCheckout API.
This example assumes the simplest case, in which the total amount was specified in the return
URL when calling the SetExpressCheckout API. Although you can specify additional
options, this example does not use any additional options.
To execute an Express Checkout transaction:
1. Specify that you want to execute the DoExpressCheckoutPayment API operation and
the version you want to use.
Seitenansicht 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 77 78

Kommentare zu diesen Handbüchern

Keine Kommentare