SATURDAY, OCTOBER 11, 2008




MY ACCOUNT LOGIN

LOGIN NAME:

PASSWORD:

REGISTER TODAY!
FORGOT YOUR PASSWORD?

SOAP METHODS



LOADORDER

PROCESSORDER

PROCESSPAYMENTLSPG

PROCESSPAYMENT
CYBERSOURCE


LOADBASKETS

LOADBASKETSPAGED

LOADRECEIPTS

LOADRECEIPTSPAGED

LOADRECEIPTSBYSHOPPER

LOADRECEIPTSBYSHOPPER
PAGED




Web Services, SOA Solutions, SOA Services - XWebServices.com


HOME

WEB SERVICES

SOA SOLUTIONS

SOA SERVICES

ABOUT US





XWEBCHECKOUT


Documentation


FAQs


Implementation Guides


Forum


Pricing






SEARCH









HOME  ::  WEB SERVICES  ::  XWEBCHECKOUT  ::  DOCUMENTATION

:: Web Services :: XWebCheckOut ::
:: Documentation (Version 1) ::

ProcessOrder SOAP Method

DESCRIPTION:

Performs data manipulation on individual Order records.

PARAMETER(S):

strXML - XML String, representing the Order record to be added, updated or deleted. To view the validating XSD Schema, please click here. An example is provided here or below:

<Order Order_ID="aeda4fb4a2ad4ccbb81f4898072f9b28">
  <Shopper_ID>shopper@somesite.com</Shopper_ID>
  <Basket />
  <Shipping>
    <First_Name>John</First_Name>
    <Last_Name>Smith</Last_Name>
    <Address_1>123 Somewhere St.</Address_1>
    <City>Los Angeles</City>
    <State>CA</State>
    <Postal_Code>90210</Postal_Code>
    <Country>USA</Country>
    <Phone>800.555.1212</Phone>
    <Fax>888.555.1212</Fax>
    <Email>john.doe@somesite.com</Email>
  </Shipping>
  <Billing>
    <First_Name>Suzan</First_Name>
    <Middle_Name>A.</Middle_Name>
    <Last_Name>Smith</Last_Name>
    <Address_1>456 Somewhere Else St.</Address_1>
    <Address_2>Apt. C</Address_2>
    <City>Los Angeles</City>
    <State>CA</State>
    <Postal_Code>90210</Postal_Code>
    <Country>USA</Country>
    <Phone>888.555.1212</Phone>
    <Fax>888.555.1212</Fax>
    <Email>john.doe@somesite.com</Email>
  </Billing>
  <Credit_Card>
    <Type>1</Type>
    <Number>4111111111111111</Number>
    <Expiration_Month>10</Expiration_Month>
    <Expiration_Year>2006</Expiration_Year>
    <Verification_Number>487</Verification_Number>
  </Credit_Card>
  <Receipt>
    <Contents>Receipt contents would go here, please see our 
          Implementation Guides for more details</Contents>
    <Total>42.95</Total>
  </Receipt>
</Order>

To create a new Order record, please provide a new identifier (Global Unique Identifier, or GUID, is preferred) as the value of the Order_ID attribute.

If an existing Order record's identifier is provided as the value of the Order_ID attribute, an update of that record will be performed by the system, as long as any of the child elements are also included in the XML string.

To delete an Order record from the system, the XML string must consist of only the root node and the Order_ID attribute, with the identifier of the record to be deleted as the attribute's value. Do not provide any of the root node's child elements. An example is provided below:

<Order Order_ID="aeda4fb4a2ad4ccbb81f4898072f9b28" />

SOAP HEADERS:

LoginName - String. The "Login Name" you chose during the registration process.
Password - String. Your account's "Password".

NOTE***: SOAP Headers are required for authentication.

RETURNS:

String, representing any errors that may have occurred during the data manipulation process. If the operation succeeded without any errors, the method will not generate a result.

ERROR(S):

If the system encounters an error, the method will return one the following messages instead of the expected XML string:

Error: Unable to authenticate. Your username and/or password are invalid. - authentication errors.
Error: You have not yet registered for this service. - authorization errors.
Error: A database error has occurred. Please try again later. - catastrophic database errors.
Error: System error. Unable to process the request. - catastrophic system errors.

ADDITIONAL SUPPORT RESOURCES:



HOME
WEB SERVICES
SOA SOLUTIONS
SOA SERVICES
MY ACCOUNT
ABOUT US