Download PayPal XMLPay - 2009 Developer's Guide
Transcript
2 XMLPay Syntax This chapter presents the syntax for transaction requests and responses using a simplified notation. z Appendix A, “XMLPay Schemas,” provides the complete syntax, expressed in W3C XML-schema notation. z Appendix B, “XMLPay DTD,” provides a document type definition (DTD) representation of the schema. Syntax Notation The following example presents the notation used to describe XMLPay document: <Example> (element) (optionalElement)? (alternativeElement1|alternativeElement2) (element)+ (element)* </Example> element Indicates the occurrence of a (possibly complex) XML element (for example, <element>...</element>) defined elsewhere. ? Indicates an optional element. | Separates alternative elements, any one of which is allowed. + Indicates that one or more occurrences of an element are allowed. * Indicates that zero or more occurrences of an element are allowed. N O T E : The Payflow SDK SDK download package provides specific examples of XML documents using the Pro client service. The XMLPayRequest Document (Transactions) <XMLPayRequest Timeout="30" version = "2.0"> <RequestData> (Vendor) (Partner) <Transactions> XMLPay Developer’s Guide 15