PayPal Adaptive Payments - 2012 Guía de usuario Pagina 257

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 298
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 256
Adaptive Payments Developer Guide August 7, 2012 257
16
Instant Payment Notifications
PayPal sends an IPN message in response to a payment, a refund, creation of a preapproval,
and cancellation of a preapproval. Your IPN message handler must be set up in the way
described in the Instant Payment Notification Guide.
Specifically, it must guard against spoofing and it must be able to handle duplicate messages,
which can occur, for example, if your application is both the caller of the Pay API and a
receiver of the payment.
The IPN messages listed here do not use the IPN message handler that you can specify in the
Profile. IPN messages are only sent to the notification URL specified in the Adaptive Payment
API operation’s request.
IMPORTANT: IPN variable names, such as transaction[0].status are strings and you
must manipulate them as strings. Some languages, such as PHP and others,
may attempt to interpret the non-alphanumeric characters found in the
variable name. To avoid misinterpretation of these strings, you should always
to use the raw HTTP request string and process it yourself rather than rely on
the support provided by the language to obtain request parameters.
Pay Message Variables
PayPal generates an IPN message that contains information about the pay request or payment
in response to the Adaptive Payments Pay and ExecutePayment API operations.
Variable Description
transaction_type The type of transaction. Possible values are:
Adaptive Payment PAY
This notification occurs when is a payment is made due to a PayRequest.
The variables for the Adaptive Payment Pay notification are similar to
the PaymentDetailsResponse fields.
Adjustment
This can be for a chargeback, reversal, or refund; check the reason_code
to see which it is.
Vista de pagina 256
1 2 ... 252 253 254 255 256 257 258 259 260 261 262 ... 297 298

Comentarios a estos manuales

Sin comentarios