:: Web Services :: XWebCheckOut :: :: Documentation (Version 1) ::
|
ProcessPaymentCyberSource SOAP Method
|
|
DESCRIPTION:
|
|
Performs credit card payment processing. Merchant Account and Cybersource
Payment Gateway setup are required.
|
 |
|
PARAMETER(S):
|
|
strXML - XML String, representing an Order record. The Order record's Billing and Credit Card information
will be used to process the Total amount present in the Basket or Receipt (in that order). Once processing has
completed, the gateway result will be appended to the Order record's Basket or Receipt. To view the validating XSD
Schema, please click here. An example is provided
here or below:
<Order Order_ID="4F847FE86F64482bBCC9E4B5B7CED61C">
<Shopper_ID>john.doe@somesite.com</Shopper_ID>
<Billing>
<First_Name>John</First_Name>
<Middle_Name>P.</Middle_Name>
<Last_Name>Doe</Last_Name>
<Address_1>123 Somewhere St.</Address_1>
<Address_2></Address_2>
<City>Los Angeles</City>
<Postal_Code>90210</Postal_Code>
<Phone>888.555.1212</Phone>
<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>
|
 |
|
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 the result of the transaction from the CyberSource Payment Gateway.
Acceptable values are "ACCEPT" or "REJECT".
|
 |
|
ERROR(S):
|
|
If the system encounters an error, the method will return one the following messages:
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:
|
|
|