Created
November 15, 2018 18:12
-
-
Save VantivSDK/f8e86c24306c563c70c45d9ba5238ad4 to your computer and use it in GitHub Desktop.
PHP Retrieve All chargebacks for Activity Date example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require __DIR__ . "/path/to/vendor/autoload.php"; | |
use cnp\sdk\ChargebackRetrieval; | |
use cnp\sdk\XmlParser; | |
$chargebackRetrieval = new ChargebackRetrieval(); | |
$response = $chargebackRetrieval->getChargebacksByDate("2018-01-01"); | |
$xml_response = XmlParser::getDomDocumentAsString($response); | |
print_r($xml_response); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment