Метод |
Описание |
|
checkConfigKeys ( $ipnConfig ) |
|
|
checkForCorrectMessageType ( ) |
* checkForCorrectMessageType() |
|
constructAndVerifySignature ( ) |
* Verify that the signature is correct for the given data and
public key |
|
getCertificate ( $certificatePath ) |
* getCertificate($certificatePath) |
|
getErrorMessageForJsonError ( $json_error ) |
* Convert a json error code to a descriptive error message |
|
getField ( $fieldName ) |
* Extract the field if present, return null if not defined |
|
getMandatoryField ( $fieldName ) |
* Extract the mandatory field from the message and return the contents |
|
getMessage ( ) |
|
|
getRemainingIpnFields ( ) |
* getRemainingIpnFields()
Gets the remaining fields of the IPN to be later appended to the return message |
|
logMessage ( $message ) |
* Helper function to log data within the Client |
|
sanitizeResponseData ( $input ) |
|
|
simpleXmlObject ( ) |
* addRemainingFields() - Add remaining fields to the datatype |
|
trimArray ( $array ) |
* Trim the input Array key values |
|
validateHeaders ( ) |
|
|
validateUrl ( $url ) |
* Ensures that the URL of the certificate is one belonging to AWS. |
|