Egopay支付网关api回调网址没有得到回复

时间:2012-08-23 17:18:31

标签: php payment gateway

我收到此消息“此回调是必需的 - 'product_id'”在回调成功网址中。

<?php
require('EgoPaySci.php');
try {
    $oEgopay = new EgoPaySci(array(
        'store_id'          => 'STORE ID',
        'store_password'    => 'STORE PASSWORD'
    ));
    $sPaymentHash = $oEgopay->createHash(array(
        'amount'    => '3.00',
        'currency'  => 'USD',
        'description' => 'My payment',
        'cf_1' => 'My custom data'
    ));
} catch (EgoPayException $e) {
    die($e->getMessage());
}
?>
<form action="<?php echo EgoPaySci::EGOPAY_PAYMENT_URL; ?>" method="post">    
    <input type="hidden" name="hash" value="<?php echo $sPaymentHash ?>" />
    <input type="submit" value="Confirm Payment" />
</form>

有关详细信息,请查看此https://www.egopay.com/developers.html

由于

0 个答案:

没有答案