This function records that a payment has been made using the provided payment type on an OnlineOrder. It does not process a payment as it simply records that the transaction occurred. This assumes that the transaction occurred outside of Freedom.
Credentials: Standard Username and Password to authenticate the API user. See ByDesignCredentials.
OnlineOrderID (Integer): ID for the Online Order. See CreateOnlineOrder.
Amount (Double): Amount of the credit. See GetAvailableCredits.
PaymentType (String): Payment Type description for the payment being added
RequestID (Integer): Unique ID for the request made.
Success (Integer): See Return Codes below for possible values.
Message (String): Success/Failure message
Request
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Payment_Custom xmlns="http://www.securefreedom.com/">
<Credentials>
<Username>string</Username>
<Password>string</Password>
<Token>string</Token>
</Credentials>
<OnlineOrderID>int</OnlineOrderID>
<Amount>decimal</Amount>
<PaymentType>string</PaymentType>
</Payment_Custom>
</soap:Body>
</soap:Envelope>
Response
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Payment_CustomResponse xmlns="http://www.securefreedom.com/">
<Payment_CustomResult>
<RequestID>int</RequestID>
<Success>int</Success>
<Message>string</Message>
</Payment_CustomResult>
</Payment_CustomResponse>
</soap:Body>
</soap:Envelope>