Created
November 15, 2018 18:13
-
-
Save VantivSDK/bb85460222e9f1cf29469b38b5d4ea3a to your computer and use it in GitHub Desktop.
PHP Retrieve Card Activity 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
<?php | |
require __DIR__ . "/path/to/vendor/autoload.php"; | |
use cnp\sdk\ChargebackRetrieval; | |
use cnp\sdk\XmlParser; | |
$chargebackRetrieval = new ChargebackRetrieval(); | |
$response = $chargebackRetrieval->getChargebacksByCardNumber("1111000011110000", "1018"); | |
$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