AuthorizeNetCP_Response::__construct
Constructor. Parses the AuthorizeNet response string.
Signature
public function __construct(string
$response,
string
$delimiter,
string
$encap_char,
array
$custom_fields )
Parameters
$response
— string- The response from the AuthNet server.
$delimiter
— string- The delimiter used (default is ",")
$encap_char
— string- The encap_char used (default is "|")
$custom_fields
— array- Any custom fields set in the request.