<?php !defined('IN_IORANGE') && die("Hacking Attempt");?>
<?php header("Cache-Control: no-store, no-cache, must-revalidate");?>
<?php header("Content-type: text/vnd.wap.wml; charset=utf-8");?>
<?php echo '<?xml version="1.0" encoding="utf-8"?>';?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
    <card id="yeepay" title="正在转向支付接口">
        <onevent type="onenterforward">
            <go href="<?php echo $request->getRequestUrl(); ?>" method="post">
                <postfield name="p0_Cmd" value="<?php echo $request->getCommand();?>"/>
                <postfield name="p1_MerId" value="<?php echo $request->getMerchantId();?>"/>
                <postfield name="p2_Order" value="<?php echo $request->order;?>"/>
                <postfield name="p3_Amt" value="<?php echo $request->amount;?>"/>
                <postfield name="p4_Cur" value="<?php echo $request->currency;?>"/>
                <postfield name="p5_Pid" value="<?php echo $request->productId;?>"/>
                <postfield name="p6_Pcat" value="<?php echo $request->productCategory;?>"/>
                <postfield name="p7_Pdesc" value="<?php echo $request->productDescription;?>"/>
                <postfield name="p8_Url" value="<?php echo str_replace('&', '&amp;', $request->callbackUrl);?>"/>
                <postfield name="p9_SAF" value="<?php echo $request->saf;?>"/>
                <postfield name="pa_MP" value="<?php echo $request->merchantPersist;?>"/>
                <postfield name="pd_FrpId" value="<?php echo $request->frpId;?>"/>
                <postfield name="pr_NeedResponse" value="<?php echo $request->needResponse;?>"/>
                <postfield name="hmac" value="<?php echo $request->getHmac();?>"/>
            </go>
        </onevent>
        <onevent type="onenterbackward">
            <prev/>
        </onevent>
    </card>
</wml>