-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
integrityhash.php
16 lines (16 loc) · 912 Bytes
/
integrityhash.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
$PBFPubKey = "FLWPUBK-........";// replace with your rave public key
$amount = $_GET['sellingcurrencyamount'];
$country = "NG";// replace with your country
$currency = "NGN";// replace with your currency
$custom_description = "SECURE PAYMENT";//replace with your custom description
$custom_logo = "http://example.com/image.jpg";//replace with your custom logo url
$custom_title = "Automatic Pallet Ltd"; // replace with link to custom title
$customer_email = $_GET['emailAddr'];
$customer_firstname = $_GET['name'];
$customer_phone = $_GET['telNo'];
$txref = $_GET['transid'];
$PBFSecKey = "FLWSECK-.......";//replace with your rave secret key
$raveintegrityhashstring = "{$PBFPubKey}{$amount}{$country}{$currency}{$custom_description}{$custom_logo}{$custom_title}{$customer_email}{$customer_firstname}{$customer_phone}{$txref}{$PBFSecKey}";
echo hash('sha256', $raveintegrityhashstring);
?>