Hi,
I use the CIM integration solution, and all work perfectly except for a refund transaction with an existing previous CIM debit.
I use the php sdki, here is my code :
---------------------------------------------------------------------------------------------
$this->request = new \AuthorizeNetCIM(
$this->configuration['providers']['authorizer']['api_login'],
$this->configuration['providers']['authorizer']['api_key']
);
$transaction = new \AuthorizeNetTransaction();
$transaction->transId = $transactionId;
$response = $this->request->createCustomerProfileTransaction("Refund", $transaction);
---------------------------------------------------------------------------------------------
And here is my error :
The element 'profileTransRefund' has invalid child element 'transId'. List of possible elements expected: 'amount'.
I tested with and without customerProfileId and customerPaymentProfileId and I have an error too.
Can you helper me ? You see a mistake somewhere?
Thanks for this nice solution,
Dimitri.
Solved! Go to Solution.
12-20-2012 01:50 AM
12-20-2012 04:26 AM
they settled once a day, or login to the test merchant account, and find one that is already settled.
12-20-2012 08:49 AM
amount is required.
12-20-2012 04:26 AM
Thanks It seems to work but I have a new problem "The referenced transaction does not meet the criteria for issuing a credit." passing the amount. It seems to be due to the fact that the previous debit transaction may not be settled.
Is there a way to settle the transaction in test environment?
Thank again.
Dimitri
12-20-2012 07:46 AM
they settled once a day, or login to the test merchant account, and find one that is already settled.
12-20-2012 08:49 AM