Niedermayer.ca
Published on Niedermayer.ca (https://niedermayer.ca)

Home > A New E-Commerce Protocol: Proposing a New Model for Facilitating Business to Consumer E-Commerce Transactions > Appendix A: NECP Message Format Specifications > Acquirer Originated Message Formats

Acquirer Originated Message Formats

The following XML definitions are proposed for merchant-originated messages:

Transaction Response Document Type Definition

<!DOCTYPE transaction_response [

   <!ELEMENT transaction_response (response, order, customer?,

                                 destination?, MAC)>

   <!ELEMENT response            (status, timestamp,

                                 auth_code?)>

   <!ELEMENT status

         (captured|authorized|denied|credited|error)>

   <!ELEMENT timestamp           (#PCDATA)>

   <!ELEMENT auth_code           (#CDATA)>

   <!ATTLIST response            prc         CDATA #IMPLIED>

   <!ATTLIST response            src         CDATA #IMPLIED>

   <!ATTLIST response            resp_msg    CDATA #IMPLIED>

   <!ATTLIST response            confidence  CDATA #IMPLIED>

   <!ELEMENT order               (merchant_id, order_no,

                                 amount)>

   <!ELEMENT merchant_id         (#PCDATA)>

   <!ELEMENT order_no            (#PCDATA)>

   <!ELEMENT amount              (#PCDATA)>

   <!ATTLIST amount              currency    CDATA #IMPLIED>

   <!ELEMENT customer            (name, address, contact?)>

   <!ELEMENT name                (title?, surname, firstname, initial?)>

   <!ELEMENT title               (Mr.|Mrs.|Ms.|Dr.|Rev.)>

   <!ELEMENT surname             (#CDATA)>

   <!ELEMENT firstname           (#CDATA)>

   <!ELEMENT initial             (#CDATA)>

   <!ELEMENT address             (street_address, city,

                                 province, country,

                                 postal_code)>

   <!ELEMENT street_address      (#PCDATA)>

   <!ELEMENT city                (#CDATA>

   <!ELEMENT province            (#CDATA)>

   <!ELEMENT country             (#CDATA)>

   <!ELEMENT postal_code         (#CDATA)>

   <!ELEMENT contact             (day_phone*, eve_phone*,

                                 fax_phone*, email*)

   <!ELEMENT day_phone           (#CDATA)>

   <!ELEMENT eve_phone           (#CDATA)>

   <!ELEMENT fax_phone           (#CDATA)>

   <!ELEMENT email               (#CDATA)>

   <!ELEMENT destination         (address)>

   <!ELEMENT MAC                 (#CDATA)>

   <!ATTLIST MAC                 serial_number CDATA

                                 #REQUIRED>

]>
  • Log in [1] to post comments

Source URL:https://niedermayer.ca/node/172

Links
[1] https://niedermayer.ca/user/login?destination=node/172%23comment-form