Changeset 1597717
- Timestamp:
- 02/17/2017 04:33:19 AM (9 years ago)
- Location:
- kict-payment-gateway
- Files:
-
- 2 edited
-
tags/2.0/KPG.php (modified) (7 diffs)
-
trunk/KPG.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kict-payment-gateway/tags/2.0/KPG.php
r1597705 r1597717 109 109 if(!$this->KPG_API_seller_name) 110 110 { # Display error message for no seller name fetched from KPG start. 111 $custom_order_description.='<table align="center" width="80%" style="b order:0px;">112 <tr align="left" valign="top" >111 $custom_order_description.='<table align="center" width="80%" style="background:#eee;border:0px;"> 112 <tr align="left" valign="top" style="background:#eee;"> 113 113 <td colspan="2" style="border-bottom:1px dotted #ccc;"><div style="font-size:25px;color:#cb8700;font-weight:normal;margin-top:25px;">Invalid seller information</div> 114 114 <div style="color:#936;font-weight:normal;padding-top:20px;">Sorry, we are unable to continue due to the invalid seller information.</div> … … 123 123 else 124 124 { # Display the Order Payment Description page start. 125 $custom_order_description.='<table align="center" width="80%" style="b order:0px;">126 <tr align="left" valign="top" >125 $custom_order_description.='<table align="center" width="80%" style="background:#eee;border:0px;"> 126 <tr align="left" valign="top" style="background:#eee;"> 127 127 <td colspan="2" style="border-bottom:1px dotted #ccc;"><div style="font-size:25px;color:#0087cb;font-weight:normal;margin-top:25px;">Complete your payment information</div> 128 128 <div style="color:#936;font-weight:normal;padding-top:20px;">Below are the information that will be submitted for Online Payment.</div></td> 129 129 </tr> 130 <tr align="left" valign="top" >130 <tr align="left" valign="top" style="background:#eee;"> 131 131 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Order number</font> 132 132 <br><span id="KPGorderNumber" style="color:#008;"></span></td> 133 133 </tr> 134 <tr align="left" valign="top" >134 <tr align="left" valign="top" style="background:#eee;"> 135 135 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Amount</font> 136 136 <br><span id="KPGorderAmount" style="color:#008;"></span></td> 137 137 </tr> 138 <tr align="left" valign="top" >138 <tr align="left" valign="top" style="background:#eee;"> 139 139 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Seller</font> 140 140 <br><span id="KPGsellerName" style="color:#008;">'.$this->KPG_API_seller_name.'</span></td> 141 141 </tr> 142 <tr align="left" valign="top" >142 <tr align="left" valign="top" style="background:#eee;"> 143 143 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Buyer name</font> 144 144 <br><span id="KPGorderBuyerName" style="color:#008;"></span></td> 145 145 </tr> 146 <tr align="left" valign="top" >146 <tr align="left" valign="top" style="background:#eee;"> 147 147 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Buyer tel. no.</font> 148 148 <br><span id="KPGorderBuyerTel" style="color:#008;"></span></td> 149 149 </tr> 150 <tr align="left" valign="top" >150 <tr align="left" valign="top" style="background:#eee;"> 151 151 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Buyer email</font> 152 152 <br><span id="KPGorderBuyerEmail" style="color:#008;"></span></td> … … 156 156 { 157 157 $custom_order_description.=' 158 <tr align="left" valign="top" >158 <tr align="left" valign="top" style="background:#eee;"> 159 159 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Payment for</font> 160 160 <br><input id="KPGorderDescriptionYear" name="KPGorderDescriptionYear" type="text" style="width:auto;text-align:center;border:1px solid #ccc;height:19px;padding:2px;" size="4" placeholder="YYYY" value="'.date("Y").'"> … … 168 168 } 169 169 $custom_order_description.='</select> 170 <input id="KPGorderDescription" name="KPGorderDescription" style="width:auto;" size="40" placeholder="Describe your payment here.">170 <input id="KPGorderDescription" name="KPGorderDescription" type="text" style="width:auto;" size="40" placeholder="Describe your payment here."> 171 171 <input id="description" name="description" type="hidden"> 172 172 </td> … … 182 182 { 183 183 $custom_order_description.=' 184 <tr align="left" valign="top" >184 <tr align="left" valign="top" style="background:#eee;"> 185 185 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Payment for</font> 186 186 <br><input id="KPGorderDescriptionYear" name="KPGorderDescriptionYear" type="text" style="width:auto;text-align:center;border:1px solid #ccc;height:19px;padding:2px;" size="4" placeholder="YYYY" value="'.date("Y").'"> … … 203 203 } 204 204 $custom_order_description.='</select> 205 <input id="KPGorderDescription" name="KPGorderDescription" style="width:auto;" size="40" placeholder="Describe your payment here.">205 <input id="KPGorderDescription" name="KPGorderDescription" type="text" style="width:auto;" size="40" placeholder="Describe your payment here."> 206 206 <input id="description" name="description" type="hidden"> 207 207 </td> … … 217 217 { 218 218 $custom_order_description.=' 219 <tr align="left" valign="top" >219 <tr align="left" valign="top" style="background:#eee;"> 220 220 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Payment for</font> 221 <br><input id="KPGorderDescription" name="KPGorderDescription" style="width:auto;" size="40" placeholder="Describe your payment here.">221 <br><input id="KPGorderDescription" name="KPGorderDescription" type="text" style="width:auto;" size="40" placeholder="Describe your payment here."> 222 222 <input id="description" name="description" type="hidden"> 223 223 </td> -
kict-payment-gateway/trunk/KPG.php
r1597705 r1597717 109 109 if(!$this->KPG_API_seller_name) 110 110 { # Display error message for no seller name fetched from KPG start. 111 $custom_order_description.='<table align="center" width="80%" style="b order:0px;">112 <tr align="left" valign="top" >111 $custom_order_description.='<table align="center" width="80%" style="background:#eee;border:0px;"> 112 <tr align="left" valign="top" style="background:#eee;"> 113 113 <td colspan="2" style="border-bottom:1px dotted #ccc;"><div style="font-size:25px;color:#cb8700;font-weight:normal;margin-top:25px;">Invalid seller information</div> 114 114 <div style="color:#936;font-weight:normal;padding-top:20px;">Sorry, we are unable to continue due to the invalid seller information.</div> … … 123 123 else 124 124 { # Display the Order Payment Description page start. 125 $custom_order_description.='<table align="center" width="80%" style="b order:0px;">126 <tr align="left" valign="top" >125 $custom_order_description.='<table align="center" width="80%" style="background:#eee;border:0px;"> 126 <tr align="left" valign="top" style="background:#eee;"> 127 127 <td colspan="2" style="border-bottom:1px dotted #ccc;"><div style="font-size:25px;color:#0087cb;font-weight:normal;margin-top:25px;">Complete your payment information</div> 128 128 <div style="color:#936;font-weight:normal;padding-top:20px;">Below are the information that will be submitted for Online Payment.</div></td> 129 129 </tr> 130 <tr align="left" valign="top" >130 <tr align="left" valign="top" style="background:#eee;"> 131 131 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Order number</font> 132 132 <br><span id="KPGorderNumber" style="color:#008;"></span></td> 133 133 </tr> 134 <tr align="left" valign="top" >134 <tr align="left" valign="top" style="background:#eee;"> 135 135 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Amount</font> 136 136 <br><span id="KPGorderAmount" style="color:#008;"></span></td> 137 137 </tr> 138 <tr align="left" valign="top" >138 <tr align="left" valign="top" style="background:#eee;"> 139 139 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Seller</font> 140 140 <br><span id="KPGsellerName" style="color:#008;">'.$this->KPG_API_seller_name.'</span></td> 141 141 </tr> 142 <tr align="left" valign="top" >142 <tr align="left" valign="top" style="background:#eee;"> 143 143 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Buyer name</font> 144 144 <br><span id="KPGorderBuyerName" style="color:#008;"></span></td> 145 145 </tr> 146 <tr align="left" valign="top" >146 <tr align="left" valign="top" style="background:#eee;"> 147 147 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Buyer tel. no.</font> 148 148 <br><span id="KPGorderBuyerTel" style="color:#008;"></span></td> 149 149 </tr> 150 <tr align="left" valign="top" >150 <tr align="left" valign="top" style="background:#eee;"> 151 151 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Buyer email</font> 152 152 <br><span id="KPGorderBuyerEmail" style="color:#008;"></span></td> … … 156 156 { 157 157 $custom_order_description.=' 158 <tr align="left" valign="top" >158 <tr align="left" valign="top" style="background:#eee;"> 159 159 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Payment for</font> 160 160 <br><input id="KPGorderDescriptionYear" name="KPGorderDescriptionYear" type="text" style="width:auto;text-align:center;border:1px solid #ccc;height:19px;padding:2px;" size="4" placeholder="YYYY" value="'.date("Y").'"> … … 168 168 } 169 169 $custom_order_description.='</select> 170 <input id="KPGorderDescription" name="KPGorderDescription" style="width:auto;" size="40" placeholder="Describe your payment here.">170 <input id="KPGorderDescription" name="KPGorderDescription" type="text" style="width:auto;" size="40" placeholder="Describe your payment here."> 171 171 <input id="description" name="description" type="hidden"> 172 172 </td> … … 182 182 { 183 183 $custom_order_description.=' 184 <tr align="left" valign="top" >184 <tr align="left" valign="top" style="background:#eee;"> 185 185 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Payment for</font> 186 186 <br><input id="KPGorderDescriptionYear" name="KPGorderDescriptionYear" type="text" style="width:auto;text-align:center;border:1px solid #ccc;height:19px;padding:2px;" size="4" placeholder="YYYY" value="'.date("Y").'"> … … 203 203 } 204 204 $custom_order_description.='</select> 205 <input id="KPGorderDescription" name="KPGorderDescription" style="width:auto;" size="40" placeholder="Describe your payment here.">205 <input id="KPGorderDescription" name="KPGorderDescription" type="text" style="width:auto;" size="40" placeholder="Describe your payment here."> 206 206 <input id="description" name="description" type="hidden"> 207 207 </td> … … 217 217 { 218 218 $custom_order_description.=' 219 <tr align="left" valign="top" >219 <tr align="left" valign="top" style="background:#eee;"> 220 220 <td style="border:0px;padding:5px;"><font style="color:#630;">➤ Payment for</font> 221 <br><input id="KPGorderDescription" name="KPGorderDescription" style="width:auto;" size="40" placeholder="Describe your payment here.">221 <br><input id="KPGorderDescription" name="KPGorderDescription" type="text" style="width:auto;" size="40" placeholder="Describe your payment here."> 222 222 <input id="description" name="description" type="hidden"> 223 223 </td>
Note: See TracChangeset
for help on using the changeset viewer.