EBS – Secure Hash Validation Failed

EBS provides the document for the posted data & other formats.

There, we have to pass that required Credentials. like secure hash.

 

//Pass your Registered Secret Key

$hashData = “Your Secret Key“;

$hash = “ebskey”.”|”.urlencode($_POST[‘account_id’]).”|”.urlencode($_POST[‘amount’]).”|”.urlencode($_POST[‘reference_no’]).”|”.$_POST[‘return_url’].”|”.urlencode($_POST[‘mode’]);

$secure_hash = md5($hash);

// now pass $secure_hash secure hash to ebs .

// now pass $secure_hash secure hash to ebs .

 

how to make secure hash to send in ebs payment gateway

Click here: Ebs Invalid Hash

Get all contents and files in Directory in php

## GET CONTENTS IN A DIRECTORY $theme_contents_all  = array(); $theme_contents_files  = array(); // Open a directory, and read its contents if (is_dir(MINI_USER_THEME_DIR)){ //check if exists, particular theme folder path if (is_dir( $miniuser_themeid_dir_apath )){ if ($dh = opendir( $miniuser_themeid_dir_apath )){ while (($file = readdir($dh)) !== false){ echo “filename:” . $file . “<br>”; //==== check if it … Read moreGet all contents and files in Directory in php

PayUMoney return data after payment

    Array ( [mihpayid] => 403993715515489558 [mode] => CC [status] => success [unmappedstatus] => captured [key] => DgdPazAK [txnid] => CHN00001140 [amount] => 5000.0 [addedon] => 2017-01-11 16:01:10 [productinfo] => APPLE [firstname] => CHANDAN [lastname] => [address1] => KOLKATA [address2] => KOLKATA [city] => KOLKATA [state] => [country] => INDIA [zipcode] => 700100 [email] … Read morePayUMoney return data after payment

What is PayPal Returned Data in php

#PayPal Return data after payment Array ( [mc_gross] => 200.00 [protection_eligibility] => Ineligible [payer_id] => QYHMSXDS1G9EW [tax] => 0.00 [payment_date] => 23:58:50 Dec 06, 2016 PST [payment_status] => Completed [charset] => windows-1252 [first_name] => Michael [mc_fee] => 638.30 [notify_version] => 3.8 [custom] => [payer_status] => verified [business] => [email protected] [quantity] => 1 [payer_email] => [email protected]Read moreWhat is PayPal Returned Data in php

PayUMoney – Testing Credentials for payumoney

## PayUMoney Payment Gateway Testing Credentials:: Below is the test card details for doing a test transaction in the testing mode.  Credit Card Number – 5123 4567 8901 2346  Name on the Card – Any name  Card Expiry – May, 2017 for Success and June, 2017 for Failure  CVV – 123 … Read morePayUMoney – Testing Credentials for payumoney