-
اتصال فرم به زرين پال
سلام
من يك فرم طرحي كردم ولي هر چه تلاش كردم به زرين پال وصل نمي شود
بخش انتقال قيمتش را ارور مي ده
كده اصليم
کد:
<form action="https://www.zarinpal.com/webservice/Simplepay" method="post" id="TransactionAddForm">
<input type="hidden" id="TransactionAccountID" value="'.$zpid.'" name="data[Transaction][account_id]">
<input type="hidden" id="TransactionAmount" value="'.$_GET['price'].'" name="data[Transaction][amount]">
<input type="hidden" id="TransactionDesc" value="'.$desc.'" name="data[Transaction][desc]">
<input type="hidden" id="TransactionRedirectUrl" value="'.$backurl.'" name="data[Transaction][redirect_url]">
<div align="center">
<table class="contentpaneopen">
<tr>
<td colspan="2" align="center"><img src="<?php echo $this->baseurl ?>/components/com_isp/views/img/zarin.jpg"></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="<?php echo $this->baseurl ?>/components/com_isp/views/img/zarin2.jpg" style="border-radius: 10px"></td>
</tr>
<tr><td>
<table width="527">
<tr>
<td>
<tr class="sectiontab1" height="25">
<td> نام محصول :</td>
<td>هاست و دامنه</td>
</tr>
<tr class="sectiontab2" height="25">
<td> مبلغ قابل پرداخت :</td>
<td>
<input name="price" maxlenght="200" class="inputbox" style="color: #FF0000; font-family: Tahoma; font-size: 15px; font-weight:bold"/> تومان</td>
</tr>
<tr class="sectiontab1" height="25">
<td> نام و نام خانوادگي :</td>
<td>
<input name="name" maxlenght="200" class="inputbox" style="color: #000000; font-family: Tahoma; font-size: 15px; font-weight:bold"/></td>
</tr>
<tr class="sectiontab2" height="25">
<td> نام كاربري :</td>
<td>
<input name="username" maxlenght="200" class="inputbox" style="color: #000000; font-family: Tahoma; font-size: 15px; font-weight:bold"/></td>
</tr>
<tr class="sectiontab1" height="25">
<td> پست الكترونيكي :</td>
<td>
<input name="email" maxlenght="200" class="inputbox" style="color: #000000; font-family: Tahoma; font-size: 15px; font-weight:bold"/></td>
</tr>
<tr class="sectiontab2" height="25">
<td> تلفن :</td>
<td>
<input name="tell" maxlenght="200" class="inputbox" style="color: #000000; font-family: Tahoma; font-size: 15px; font-weight:bold"/></td>
</tr>
</td>
</tr>
</table>
</tr>
</table>
</div>
<br/>
<div style="text-align:center">
<input type="reset" value="نوآوري" class="button"/>
<input type="submit" name="save" value="ادامه" class="button"/>
</div>
</form>
مي خوام قيمتش پست شود و بقيه فيلد ها هم در توضيحات نمايش داده شه
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
09-14-2011 06:12 PM
# ADS
تبلیغات در جوملا فارسی
علاقه مندی ها (Bookmarks)