Revindex Storefront


Last updated on 2023-06-22 1 mins. to read

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:

  1. Merchant ID
  2. Public Key
  3. 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>';


Powered by Revindex Wiki