PayPal Instant Payment Notification - 2009 Guia do Utilizador

Consulte online ou descarregue Guia do Utilizador para não PayPal Instant Payment Notification - 2009. PayPal Instant Payment Notification - 2009 User Guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Notification Guide

Instant Payment Notification GuideFor Professional Use OnlyCurrently only available in English.A usage Professional UniquementDisponible en Anglais un

Página 2 - IPN Guide

Introducing IPNIPN Protocol and Architecture10 June, 2009 IPN Guide3. PayPal sends a single word back, which is either VERIFIED if the message origina

Página 3 - Contents

IPN Guide June, 2009 11Introducing IPNIPN Protocol and ArchitectureThe numbers in diagram correspond to the following steps:1. The button action initi

Página 4

Introducing IPNIPN Protocol and Architecture12 June, 2009 IPN GuideThe numbers in diagram correspond to the following steps:1. The API operation initi

Página 5 - Revision History

IPN Guide June, 2009 13Introducing IPNIPN Protocol and ArchitectureThe numbers in diagram correspond to the following steps:1. Your back-office or adm

Página 6 - 6 June, 2009 IPN Guide

Introducing IPNA Sample IPN Message and Response14 June, 2009 IPN GuideThe numbers in diagram correspond to the following steps, which implement the I

Página 7

IPN Guide June, 2009 15Introducing IPNA Sample IPN Message and Responsemc_gross=19.95&protection_eligibility=Eligible&address_status=confirmed

Página 8

Introducing IPNA Sample IPN Message and Response16 June, 2009 IPN GuideBefore you can trust the contents of the message, you must first verify that th

Página 9 - IPN Protocol and Architecture

IPN Guide June, 2009 17Introducing IPNNon-IPN Notification MechanismsPayPal will then send one single-word message, VERIFIED, if the message is valid;

Página 10 - Introducing IPN

Introducing IPNNon-IPN Notification Mechanisms18 June, 2009 IPN Guide

Página 11

IPN Guide June, 2009 192Implementing an IPN ListenerYou write your IPN listener in the scripting or programming language of your choice and host it on

Página 12

IPN GuideDocument Number: 10087.en_US-20090626© 2009 PayPal, Inc. All rights reserved. PayPal is a registered trademark of PayPal, Inc. The PayPal log

Página 13

Implementing an IPN Listener20 June, 2009 IPN Guide6. If the verified response passes the checks, take action based on the value of the txn_type varia

Página 14

IPN Guide June, 2009 21Implementing an IPN Listener<?php error_reporting(E_ALL ^ E_NOTICE); $email = $_GET['ipn_email']; $header = "

Página 15

Implementing an IPN Listener22 June, 2009 IPN Guide} mail($email, "Live-INVALID IPN", $emailtext . "\n\n" . $req); } } fclose ($fp

Página 16

IPN Guide June, 2009 233Identifying Your IPN Listener to PayPalAfter you implement and test your IPN listener, you make your listener known to PayPal

Página 17

Identifying Your IPN Listener to PayPalSetting Up IPN Notifications on PayPal24 June, 2009 IPN Guide4. Specify the URL for your listener in the Notifi

Página 18

IPN Guide June, 2009 25Identifying Your IPN Listener to PayPalDynamically Setting the Notification URLDynamically Setting the Notification URLYou can

Página 19 - Implementing an IPN Listener

Identifying Your IPN Listener to PayPalDynamically Setting the Notification URL26 June, 2009 IPN Guide

Página 20

IPN Guide June, 2009 274IPN TestingAfter you implement your listener and start it running on your web server, you can use the IPN simulator in the San

Página 21

IPN TestingTesting Your Listener28 June, 2009 IPN Guide3. Keep or modify the values of fields that you want to include in the IPN.By default, only pop

Página 22

IPN Guide June, 2009 29IPN TestingIPN Troubleshooting Tips4. Click Send IPN. The IPN message is sent to the specified URL and the results of the opera

Página 23 - IPN Guide June, 2009 23

IPN Guide June, 2009 3ContentsIntended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 24 - 24 June, 2009 IPN Guide

IPN TestingIPN Troubleshooting Tips30 June, 2009 IPN Guidez Ensure that you are encoding your response string and are using the same character encodin

Página 25 - IPN Guide June, 2009 25

IPN Guide June, 2009 315IPN Operations on PayPalThe IPN History page on PayPal provides additional information to help you troubleshoot IPN messages.

Página 26 - 26 June, 2009 IPN Guide

IPN Operations on PayPalUsing the IPN History32 June, 2009 IPN Guidez Whether this IPN message was the original message or whether it was resent, whic

Página 27 - IPN Testing

IPN Guide June, 2009 33IPN Operations on PayPalResending IPN MessagesIn addition to the information on the IPN History page, the details contain the f

Página 28

IPN Operations on PayPalResending IPN Messages34 June, 2009 IPN GuideTo make a request that PayPal resend IPN messages, mark one or more messages for

Página 29 - IPN Troubleshooting Tips

IPN Guide June, 2009 35IPN Operations on PayPalResending IPN MessagesWhen the message has been sent, your server’s response to the HTTP POST is used t

Página 30

IPN Operations on PayPalResending IPN Messages36 June, 2009 IPN Guide

Página 31 - IPN Operations on PayPal

IPN Guide June, 2009 376Using Fraud Management Filters With IPNFraud Management Filter actions are reported in IPN payment messages only when a filter

Página 32

Using Fraud Management Filters With IPN38 June, 2009 IPN Guidetxn_type = virtual_terminal payment_date = 17:11:42 Jul 15, 2008 PDT last_name = receip

Página 33 - Resending IPN Messages

IPN Guide June, 2009 39Using Fraud Management Filters With IPNtxn_type = virtual_terminal payment_date = 17:11:42 Jul 15, 2008 PDT last_name = receip

Página 34

Contents4 June, 2009 IPN GuideTransaction and Notification-Related Variables . . . . . . . . . . . . . . . . . . . . . . . 42B

Página 35

Using Fraud Management Filters With IPN40 June, 2009 IPN Guidetxn_type = virtual_terminal payment_date = 17:09:40 Jul 15, 2008 PDT last_name = receip

Página 36

IPN Guide June, 2009 417IPN Variable ReferencePayPal returns related variables for each kind of IPN message. Not all variables are returned for each t

Página 37 - With IPN

IPN Variable ReferenceTransaction and Notification-Related Variables42 June, 2009 IPN GuideTransaction and Notification-Related VariablesTransaction a

Página 38 - June, 2009 IPN Guide

IPN Guide June, 2009 43IPN Variable ReferenceBuyer Information VariablesBuyer Information VariablesBuyer information identifies the buyer or initiator

Página 39 - IPN Guide June, 2009 39

IPN Variable ReferencePayment Information Variables44 June, 2009 IPN GuidePayment Information VariablesPayment information identifies the amount and s

Página 40

IPN Guide June, 2009 45IPN Variable ReferencePayment Information Variablesfraud_managment_pending_filters_xOne or more filters that identify a trigger

Página 41 - IPN Variable Reference

IPN Variable ReferencePayment Information Variables46 June, 2009 IPN Guidemc_fee Transaction fee associated with the payment. mc_gross minus mc_fee eq

Página 42

IPN Guide June, 2009 47IPN Variable ReferencePayment Information Variablesoption_selection2 Option 2 choice as entered by your customer.PayPal appends

Página 43 - Buyer Information Variables

IPN Variable ReferencePayment Information Variables48 June, 2009 IPN Guidepayment_status The status of the payment:Canceled_Reversal: A reversal has b

Página 44 - Payment Information Variables

IPN Guide June, 2009 49IPN Variable ReferencePayment Information Variablespending_reason This variable is set only if payment_status = Pending.address

Página 45

IPN Guide June, 2009 5PrefaceThis document describes the Instant Payment Notification (IPN) message service.Intended AudienceThis document is intended

Página 46

IPN Variable ReferenceAuction Variables50 June, 2009 IPN GuideAuction VariablesAuction information identifies the auction for which a payment is made

Página 47

IPN Guide June, 2009 51IPN Variable ReferenceMass Pay VariablesMass Pay VariablesMass pay information identifies the amounts and status of transaction

Página 48

IPN Variable ReferenceRecurring Payments Variables52 June, 2009 IPN GuideRecurring Payments VariablesRecurring payments information identifies the amo

Página 49

IPN Guide June, 2009 53IPN Variable ReferenceRecurring Payments Variablesoutstanding_balance Outstanding balance for recurring paymentspayment_cycle P

Página 50 - Auction Variables

IPN Variable ReferenceRecurring Payments Variables54 June, 2009 IPN GuideSummary of recurring payment variablesVariables Profile created message Recur

Página 51 - Mass Pay Variables

IPN Guide June, 2009 55IPN Variable ReferenceSubscription VariablesSubscription VariablesSubscription information identifies the amounts and parameter

Página 52 - Recurring Payments Variables

IPN Variable ReferenceSubscription Variables56 June, 2009 IPN Guideamount2 Amount of payment for trial period 2 for USD payments; otherwise blank (opt

Página 53

IPN Guide June, 2009 57IPN Variable ReferenceSubscription VariablesSummary of subscription variablesVariable Signup Cancel ModifyUSD PaymentMulti-Curr

Página 54

IPN Variable ReferenceSubscription Variables58 June, 2009 IPN Guidepayment_gross XXXpayment_fee XBuyer Informationfirst_name XXXX X X Xlast_name XXXX

Página 55 - Subscription Variables

IPN Guide June, 2009 59IPN Variable ReferenceDispute Resolution VariablesDispute Resolution VariablesDispute resolution information identifies the cas

Página 56

Revision History6 June, 2009 IPN Guide

Página 57

IPN Variable ReferencePayment Review Using Notifications60 June, 2009 IPN GuidePayment Review Using NotificationsIf PayPal places a payment under revi

Página 58

IPN Guide June, 2009 71Introducing IPNInstant Payment Notification (IPN) is a message service that notifies you of events related to PayPal transactio

Página 59 - Dispute Resolution Variables

Introducing IPNWhat is IPN?8 June, 2009 IPN Guideadministrative processes that respond the messages. PayPal provides sample code that you can modify t

Página 60

IPN Guide June, 2009 9Introducing IPNIPN Protocol and ArchitectureThe IPN message is not actually part of the response sent to your website. Rather, t

Comentários a estes Manuais

Sem comentários