This file contains 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\ChargebackUpdate; | |
use cnp\sdk\XmlParser; | |
$chargebackUpdate = new ChargebackUpdate(); | |
$response = $chargebackUpdate->assignCaseToUser("1234000", "User0", "Note"); | |
$xml_response = XmlParser::getDomDocumentAsString($response); |
This file contains 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
from cnpsdk import chargeback_retrieval | |
response = chargeback_retrieval.get_chargebacks_by_arn("1111111111") |
This file contains 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
from cnpsdk import chargeback_retrieval | |
response = chargeback_retrieval.get_chargebacks_by_card_number("1111000011110000", "0118") |
This file contains 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
from cnpsdk import chargeback_retrieval | |
response = chargeback_retrieval.get_chargeback_by_case_id("1333078000") |
This file contains 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
from cnpsdk import chargeback_retrieval | |
response = chargeback_retrieval.get_actionable_chargebacks("true") |
This file contains 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
from cnpsdk import chargeback_retrieval | |
response = chargeback_retrieval.get_chargebacks_by_date("2018-01-01") |
This file contains 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
from cnpsdk import chargeback_update | |
response = chargeback_update.respond_to_retrieval_request(10000, "Test note") |
This file contains 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
from cnpsdk import chargeback_update | |
response = chargeback_update.represent_case(10000, "Test note", 12000) |
This file contains 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
from cnpsdk import chargeback_update | |
response = chargeback_update.assume_liability(10000, "Test note") |
This file contains 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
from cnpsdk import chargeback_update | |
response = chargeback_update.add_note_to_case(10000, "Test note") |