Hello.
I'm working with your sandbox using SDK in php project. Charging a customer profile (and charge a credit card) works well, I get transaction ID.
Unfortunately, you don't support a refund using only your Transaction id, so I have to create and use ref_id to refund a transaction.
So now to refund transaction first of all I need to use 'Get Transaction Details' and only then I can refund a transaction (like in your examples in documentation).
The main problem is a refund works only in a case when I set the WHOLE card number and set the expiration date:
$creditCard->setCardNumber("4111111111111111");\ it works
$creditCard->setExpirationDate("2038-12"); \ it works
But in your documentation there is an information that 4 last digits of credit card is enough and use 'XXXX' for expiration date in a case of refund:
$creditCard->setCardNumber("1111"); //your example from documentation
$creditCard->setExpirationDate("XXXX"); \ and it doesn't work
When I try to use the refund like in your documentation I get the error:
Transaction Failed
Error code : 6
Error message : The credit card number is invalid.
We can't keep credit cards numbers and 'Get Transaction Details' give only last 4 digits of credit card and no information about expiration date. So I have no any idea how I can refund a transaction without the whole information about credit card...
Hello. I'm working with your sandbox using SDK in php project. Charging a customer profile (and charge a credit card) works well, I get transaction ID. Unfortunately, you don't support a refund using only your Transaction id, so I have to create and use ref_id to refund a transaction. So now to refund transaction first of all I need to use 'Get Transaction Details' and only then I can refund a transaction (like in your examples in documentation). The main problem is a refund works only in a case when I set the WHOLE card number and set the expiration date: $creditCard->setCardNumber("4111111111111111");\ it works $creditCard->setExpirationDate("2038-12"); \ it works But in your documentation there is an information that 4 last digits of credit card is enough and use 'XXXX' for expiration date in a case of refund: $creditCard->setCardNumber("1111"); //your example from documentation $creditCard->setExpirationDate("XXXX"); \ and it doesn't work When I try to use the refund like in your documentation I get the error: Transaction Failed Error code : 6 Error message : The credit card number is invalid. We can't keep credit cards numbers and 'Get Transaction Details' give only last 4 digits of credit card and no information about expiration date. So I have no any idea how I can refund a transaction without the whole information about credit card...