-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
I would like to know how to add the DCC data from an initial transaction to a refund request. I am using the PHP SDK.
I have created the dccRateData object and added it to the request, but it is not working.
$dccRateData = new DccRateData();
$dccRateData->dccProcessor = "fexco";
$dccRateData->dccRateType = "R";
$dccRateData->cardHolderCurrency = "HKD";
$dccRateData->cardHolderRate = "9.3173";
$dccRateData->cardHolderAmount = "18625";
try {
// send the settle request, we must specify the amount and currency
$response = $transaction->refund(19.99)
->withCurrency("EUR")
->withDccRateData($dccRateData)
->execute();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels