PayPal Express Checkout - 2012 Guide de l'utilisateur Page 65

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 108
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 64
Express Checkout Advanced Features Guide April 2012 65
Implementing Parallel Payments
Name-Value Pair Syntax Supporting Parallel Payments
5
Name-Value Pair Syntax Supporting Parallel Payments
The PayPal API uses a special syntax for NVP fields to support parallel payments.
The NVP interface to the PayPal API supports up to a maximum of 10 parallel payments in a
transaction. To accommodate this, request fields have the following format, where
n is a
number in the range 0 to 9 representing a payment.
PAYMENTREQUEST_
n_NVPREQUESTFIELDNAME
The first numbered field in a list of payments starts with n equal to 0, the second field has n
equal to 1, and so forth.
The response name format is:
PAYMENTREQUEST_
n_NVPRESPONSEFIELDNAME
NOTE: Even if your Express Checkout integration supports single payments only, you must
use this format. Specify
n=0 for single payment with version 63.0 or higher of the
Express Checkout API.
The payment information returned in the DoExpressCheckoutPayment response has the
same basic format; however, the field name starts with PAYMENTINFO:
PAYMENTINFO_
n_NVPRESPONSEFIELDNAME
The NVP API reference documentation shows the proper format and naming for every NVP
field that uses this syntax.
Examples:
The following syntax represents the total amount of the first payment:
Vue de la page 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 107 108

Commentaires sur ces manuels

Pas de commentaire