<?php $__env->startSection('header'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<!-- branding table -->

<!-- The "Pay Now!" button submits the form, transferring control to the page detailed below -->
<form action="<?php echo URL::to('admin/migs/do'); ?>" method="post"> 
<input type="hidden" name="Title" value="PHP VPC 3-Party">

    <!-- get user input -->
    <table class="table" width="80%" align="center" border="0" cellpadding='0' cellspacing='0'>

<!--
    <tr bgcolor="#E1E1E1">
        <td width="1%">&nbsp;</td>
        <td width="40%" align="right"><b><i>Virtual Payment Client URL:&nbsp;</i></b></td>
        <td width="59%"><input type="text" name="virtualPaymentClientURL" size="63" value="https://migs.mastercard.com.au/vpcpay" maxlength="250"></td>
    </tr>
--!>
    <tr>
        <td colspan="3">&nbsp;<hr width="75%">&nbsp;</td>
    </tr>
    <tr bgcolor="#C1C1C1">
        <td colspan="3" height="25"><p><b>&nbsp;Basic 3-Party Transaction Fields</b></p></td>
    </tr>
    <tr bgcolor="#E1E1E1">
        <td>&nbsp;</td>
        <td align="right"><b><i>訂單資訊: </i></b></td>
        <td><input type="text" name="vpc_OrderInfo" value="VPC Example" size="20" maxlength="34"readonly></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td align="right"><b><i>總額: </i></b></td>
        <td><input type="text" name="vpc_Amount" value="100" size="20" maxlength="10" readonly></td>
    </tr>
    <tr bgcolor="#E1E1E1">
        <td>&nbsp;</td>
        <td align="right"><b><i>信箱:</i></b></td>
        <td>
        <input type="text" name="email" value="">
</td>
    </tr>
    <tr>    <td colspan="3">
<?php if($errors->has()): ?>
    <div class="alert alert-danger">
        <?php foreach($errors->all() as $error): ?>
            <?php echo $error; ?><br>        
        <?php endforeach; ?>
    </div>
<?php endif; ?>

            </td>
    </tr>

    <tr>    <td colspan="2">&nbsp;</td> 
            <td>
        <input type="hidden" name="vpc_ReturnURL" size="63" value="<?php echo URL::to('admin/migs'); ?>" maxlength="250">
        <input type="hidden" name="vpc_Locale" value="zh_HK" size="20" maxlength="5">
        <input type="submit" name="SubButL" value="Pay Now!">
    </td></tr>

    <tr><td colspan="3">&nbsp;<hr width="75%">&nbsp;</td></tr>
    
<!--
    <tr bgcolor="#C1C1C1">
        <td colspan="3" height="25"><p><b>&nbsp;Optional Ticket Number Field</b></p></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td align="right"><b><i>TicketNo: </i></b></td>
        <td><input type="text" name="vpc_TicketNo" maxlength="15"></td>
    </tr>

    <tr><td colspan="3">&nbsp;<hr width="75%">&nbsp;</td></tr>
    <tr bgcolor="#C1C1C1">
        <td colspan="3" height="25"><p><b>&nbsp;Optional Transaction Source Subtype Field</b></p></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td align="right"><b><i>Transaction Source Subtype: </i></b></td>
        <td><select name="vpc_TxSourceSubType">
                <option value="">Please Select</option>
                <option value="SINGLE">Indicates a single payment to complete order</option>
                <option value="INSTALLMENT">Indicates an installment transaction</option>
                <option value="RECURRING">Indicates a recurring transaction</option>
            </select>
        </td>
    </tr>
    <tr><td colspan="3">&nbsp;<hr width="75%">&nbsp;</td></tr>
--!>
    </table><br/>
  </form>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('dialog'); ?>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('Myadmin::layout.basic', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>