CyberStore Order Web Service
MethodSavePaymentToPendingOrder
CyberStore Order Web Service > All Operations Resource Group : SavePaymentToPendingOrder (Method)
Request (SavePaymentToPendingOrderSoapIn)

The request body is of type SavePaymentToPendingOrder.

Request Body Parameters

NameDescriptionData Type
 xml:int
 xml:string
 xml:string
 xml:string
 xml:string
 xml:string
 xml:string
 xml:string
 xml:string
Example
The following example shows how to perform the web operation in CyberStore.
// Example: Save a payment of type 1
//      with a PO Number of '47862-A-01'

MakeAJAXCall("Order.SavePaymentToPendingOrder", {
    PaymentMethod_ID: 1,
    CreditCardType: '',
    CreditCardNumber: '',
    CreditCardVerification: '',
    CreditCardMonth: '',
    CreditCardYear: '',
    CreditCardFirstName: '',
    CreditCardLastName: '',
    PoNumber: '47862-A-01'
}, console.log);
200 Response (SavePaymentToPendingOrderSoapOut)

The response body is of type SavePaymentToPendingOrderResponse.

Response Body Parameters

NameDescriptionData Type

A string value containing a JSON object.

// Example 1: Success when saving payment
{
    "Success": true,
    "Message": "Payment information has been saved to the order."
}

// Example 2: Error save payment response.
{
    "Success": false,
    "Message": "The payment information failed to save to the pending order, or there is no order pending."
}
xml:string
See Also
All Operations Resource GroupCyberStore Order Web Service