PayPal Gateway - 2013 Guia do Utilizador Página 207

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 256
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 206
Gateway Developer Guide and Reference 07 February 2013 207
D
Payflow Header Parameters
The Payflow header parameters can be used to bypass Payflow and send a request message
directly to PayPal. They can also be used to post transactions directly to the Payflow servers
without installing an SDK. This appendix includes the following sections:
“Sending Requests Directly to PayPal Bypassing Payflow” on page 207
“Posting Transactions Directly Without the Payflow SDK” on page 208
Sending Requests Directly to PayPal Bypassing Payflow
Payflow will ignore the request parameters you pass and will forward them to PayPal when
you declare PAYPAL-NVP=Y in the request header. Declaring PAYPAL-NVP=Y in the request
header is required when passing negative discount amounts to PayPal through Payflow.
Please note that passing PAYPAL-NVP=Y in the request header changes the format of the
response message you receive from Payflow. For example, if PAYPAL-NVP=Y is NOT
declared in the header, the Payflow response message is formatted as follows:
RESULT=0&RESPMSG=Approved&TOKEN=EC-
868676987J8393917&CORRELATIONID=5f817d830101
If the request header PAYPAL-NVP=Y is declared, the response returned from Payflow
includes bracketed numbers next to the names of the response parameters. These bracketed
numbers are length tags indicating the length of the values returned. The following is a
response message that contains length tags:
RESULT=0&RESPMSG=Approved&TOKEN[20]=EC-
97J718043X120051H&TIMESTAMP[20]=2012-10-
11T15:19:37Z&CORRELATIONID[13]=274f8d4493dbe&ACK[7]=Success&VERSION[
4]=92.0&BUILD[7]=3893058
You can also use length tags in the Payflow request message to pass the special characters of
"&" and "=" in the values sent. See “Using Special Characters In Values” on page 51 for more
information.
Express Checkout for Payflow
For information on using the PayPal Express Checkout API with Payflow, see the Express
Checkout for Payflow Pro integration guide.
Vista de página 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 255 256

Comentários a estes Manuais

Sem comentários