Clear is a hosted payment gateway that allows you to accept credit card transactions using a hosted payment page.
This gateway supports the following features:
- Purchase using gateway hosted page
- Payment notification
The following fields are required:
- Merchant ID
- Public Key
- Private Key
To generate the Public Key and Private Key, please use any online PHP editor and paste the following code to execute.
$keyPair = sodium_crypto_box_keypair();
$yourPrivateKey = sodium_crypto_box_secretkey($keyPair);
$yourPublicKey = sodium_crypto_box_publickey($keyPair);
echo 'Your base64 encoded public key: ' .base64_encode($yourPublicKey). '<br>';
echo 'Your base64 encoded private key: ' .base64_encode($yourPrivateKey). '<br>';