$fields=array("orderId"=>$order_id, "expMonth"=>$data["expMonth"], "cvv"=>$data["cvv"], "amount"=>$data["amount"], "currency"=> "usd", "last4"=>$data["last4"], "expYear"=>$data["expYear"], "first6"=>$data["first6"], "cardEncrypted"=> $data["cardEncrypted"]);
We get new encryption key every time we are making an attempt to do payment using the APIs.
We tested it by dumping values on the web and found out that the card encrypted value is empty, because we have somehow misplaced the /py/encrypt.py file. I think this is the reason we are not getting the encryption key for the card.
I had raised a ticket in 2017 regarding the same and here is the ticket and Mark Mullan commented on it with some python script which does not exists on the same url. However can you confirm whether this is the same python script which was earlier given to me as solution ?
Thank you.
We created a new python script which helped us in getting the correct card encryption value. After passing all the necessary details to the clover API we were able to get successful transaction.
4 People are following this question.