작동하지 양식 I는 인터넷 쇼핑몰에 대한 자동 작성 페이팔 양식을 만들려고 : 페이팔 HTML
<form action="https://www.paypal.com/cgi-bin/webscr" class="input-form" method="post" enctype="application/x-www-form-urlencoded; charset=utf-8">
<input type="hidden" value="utf-8" name="charset">
<input type="hidden" value="_s-xclick" name="cmd">
<input type="hidden" value="{somehash}" name="hosted_button_id">
<input type="hidden" value="17" name="item_number">
<input type="hidden" value="kosár és szállítás" name="item_name">
<input type="hidden" value="9990" name="amount">
<input type="hidden" value="HUF" name="currency_code">
<input type="hidden" value="1" name="upload">
<input type="hidden" value="1" name="no_shipping">
<input type="hidden" value="http://www.mydomain.loc/" name="return">
<input type="image" border="0" alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_paynowCC_LG.gif" class="button submit-button image-button">
<img width="1" height="1" border="0" alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif">
</form>
은 {somehash}
나에게 페이팔 계정 소유자했다 (I 계정이 없었어요). screenshot 그것은 항목 이름만을 포함하지 ... 어떻게 해야할지 모르겠어요<div id="miniCartContent" class="body clearfix" style="height: 1083px;">
<div class="" id="miniCart">
<h3>Your order summary</h3>
<div class="small head wrap">
Descriptions
<span class="amount">Amount</span>
</div>
<ol class="small wrap items ">
<li class="seller1">
<ul>
<li class="itmdet" id="multiitem1">
<ul class="item1">
<li class="dark">
<span class="name">
<a id="showname0" title="" href="#name0" class="autoTooltip">
kosár és szállítás
<span class="accessAid">kosár és szállítás</span>
</a>
</span>
<span class="secondary noamt amount">0</span>
</li>
<li class="secondary qty">
<p class="group">
<label for="item_price"><span class="labelText">Item price: </span></label>
<span class="field">
<input type="text" value="" name="amount" id="item_price" size="6" maxlength="15">
</span>
</p>
</li>
<li class="secondary">
Quantity: 1
</li>
<li>
<div class="action">
<span class="buttonAsLink">
<input type="submit" onclick="PAYPAL.Checkout.Slider.showPanelMsg('cartMsg')" class="action updateSubmit" name="update.x" id="updateTotals0" value="Update">
</span>
</div>
</li>
</ul>
<ul></ul>
</li>
</ul>
</li>
</ol>
<div class="wrap items totals item1">
<ul>
<li class="small heavy">
Item total <span class="amount">0</span>
</li>
</ul>
</div>
, 나는 다스 자습서를 읽을 수 있지만했다 : 내 문제는, 나는 이런 식으로 뭔가를 얻을 후 제출하지 succes : S 아이디어가 있으십니까?
편집 : dev에 서버, 로컬 호스트에서
테스트 (하지만 난 그게 계산 생각하지 않는다) ...
공식 페이팔 사이트에는 HTML 양식 코드를 생성하는 마법사가 있습니다. https://www.paypal.com/pdn-item – xato
페이팔 계정이 없습니다 ... – inf3rno