我正在整合ccavenue
我的网站。我已提交以下变量。我还添加了重定向网址。但它不起作用,因为它在交易后没有重定向,任何人都可以通过告诉我,当一个人付款时我将如何得到通知来帮助我?
<?php
$currency = $_SESSION['cart'][0]['o_currency'];
if($currency_sign == '₹') {
$Merchant_Id = "merchant_id_enter";
$Amount = 1;
//unique Id that should be passed to payment gateway
$Order_Id = $allDetails[0]['o_id_text'];
$WorkingKey = "l3t6r8dichpgxai7eg";//Given to merchant by ccavenue
$Redirect_Url = HTTP_ROOT.'register/success';
require_once('lib/ccavenueValidate.php');
$Checksum = getCheckSum($Merchant_Id, $Amount,
$Order_Id , $Redirect_Url, $WorkingKey);
?>
<form id="ccavenue" method="post"
action="https://www.ccavenue.com/shopzone/cc_details.jsp">
<input type="hidden" name="Merchant_Id" value="<?php echo $Merchant_Id?>">
<input type="hidden" name="Amount" value="<?php echo $Amount; ?>">
<input type="hidden" name="Order_Id" value="<?php echo $Order_Id; ?>">
<input type="hidden" name="Redirect_Url" value="<? echo HTTP_ROOT.'register/success'; ?>">
<input type="hidden" name="TxnType" value="A">
<input type="hidden" name="ActionID" value="TXN">
<input type="hidden" name="Checksum" value="<?php echo $Checksum; ?>">
<input type="hidden" name="billing_cust_name" value="<?php echo $allDetails[0]['o_b_first_name'].' '.$allDetails[0]['o_b_last_name']?>">
<input type="hidden" name="billing_cust_address" value="<?php echo $allDetails[0]['o_address1']?>">
<input type="hidden" name="billing_cust_country" value="<?php echo $allDetails[0]['o_country'];?>">
<input type="hidden" name="billing_cust_state" value="<?php echo $allDetails[0]['o_state'];?>">
<input type="hidden" name="billing_cust_city" value="<?php echo $allDetails[0]['o_city'];?>">
<input type="hidden" name="billing_zip" value="<?php echo $allDetails[0]['o_zipcode'];?>">
<input type="hidden" name="billing_cust_tel" value=""> <!--Pass Customer Phone No-->
<input type="hidden" name="billing_cust_email" value="<?php echo $allDetails[0]['o_buyers_email_id']; ?>" />
</form>
<?php } ?>