我正在将epdq集成到我的网站上,并希望在epdq付款页面上传递徽标我已将徽标发送到barklays银行,他们将我们的徽标上传到他们的服务器中,他们现在提供了我们的链接我不知道如何通过徽标到epdq付款页面。我试过这样但是它不起作用请帮忙。
<?php
$amount = str_replace('£', '', appthemes_get_price( $order->get_total(), $order->get_currency() ));
//str_replace('£', '', appthemes_get_price( $order->get_total())) * 100;
$hParams = array();
$hParams['LOGO'] = 'https://payments.epdq.co.uk/images/merchant/MYPSPID/llllo1.jpg';
$hParams['ACCEPTURL'] = 'http://www.planetoftheads.com/bank-transfer-success/';
$hParams['AMOUNT'] = $amount * 100;
$hParams['CANCELURL'] = 'http://www.planetoftheads.com';
$hParams['CURRENCY'] = 'GBP';
$hParams['DECLINEURL'] = 'http://www.planetoftheads.com';
$hParams['EXCEPTIONURL'] = 'http://www.planetoftheads.com';
$hParams['LANGUAGE'] = 'en_US';
$hParams['ORDERID'] = $order->get_id();
$hParams['PSPID'] = 'MYPSPID';
$hParams['WIN3DS'] = 'MAINW';
$aParams = array();
foreach( $hParams as $k=>$v ) {
$aParams[] = $k . '=' . $v;
}
$shain = 'MY SHA-IN';
$string = implode( $shain, $aParams ) . "{$shain}";
$enc_string= ( sha1( ( $string ) ) );
//print $string;
$enc_string;
?>
<input type="hidden" name="LOGO" value="https://payments.epdq.co.uk/images/merchant/epdq1100657/llllo1.jpg">
<input type="hidden" name="ACCEPTURL" value="http://www.planetoftheads.com/bank-transfer-success/" />
<input type="hidden" name="AMOUNT" value="<?php echo $amount * 100;?>" />
<input type="hidden" name="CANCELURL" value="http://www.planetoftheads.com" />
<input type="hidden" name="CURRENCY" value="GBP" />
<input type="hidden" name="DECLINEURL" value="http://www.planetoftheads.com" />
<input type="hidden" name="EXCEPTIONURL" value="http://www.planetoftheads.com" />
<input type="hidden" name="LANGUAGE" value="en_US" />
<input type="hidden" name="ORDERID" value="<?php echo $order->get_id(); ?>" />
<input type="hidden" name="PSPID" value="MYPSPID" />
<input type="hidden" name="WIN3DS" value="MAINW" />
<input type="hidden" name="SHASIGN" value="<?php echo $enc_string; ?>" />
<input type="submit" value="Pay Now">