0
내 사이트에 epdq 통합하고
을 epdq하고 이미 은행 barklays 로고를 보내 epdq 지급 페이지에 로고를 전달하려는 그들은 자신의 서버에 우리의 로고를 업로드하고 그들은 내가 돈 지금 우리에게 링크를 제공합니다 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">