I am using the test credit card details 4264281511117771
["paymentId" => "GY1RFDCK18ETT" , "result" => "DECLINED", "failureMessage" => "INV TRAN"]
I am using php. this is how i encrypted credit card num:
- $rsa = new phpseclib\Crypt\RSA();
- $rsa->loadKey([
- 'e' => new BigInteger(base64_decode($getPay["exponent"]), 256),
- 'n' => new BigInteger(base64_decode($getPay["modulus"]), 256)
- ]);
- $card = base64_encode($rsa->encrypt($getPay["prefix"].'4264281511117771'));
Please help me with this issue.