2017-06-02 18 views
0

私は自分のウェブサイトにPaypalフォームを持っていますが、何らかの理由でPaypalのウェブサイトのCheckoutページに行くと、その「配送アドレス」が表示されます。誰も私がこれを取り除く方法を知っていますか?あなたはPaypalチェックアウトから配送先住所を削除しますか?

 <section style="background-color:white;border-radius:25px;" 
id="three" class="wrapper style3 special"> 
        <div class="container 50%"> 


        <form id="Order" name="Order" 
action="https://www.paypal.com/cgi-bin/webscr" method="post"> 
<h2 style="color:black;">Your Page:</h2> <input type="hidden" 
name="on0" value="URL" /> 
<input style="border:1px solid grey;" name="os0" type="text" 
class="formtext" /> 
<br /> 
<br /> 
<br /> 
<h2 style="color:black;">Your Email Address:</h2> 
<input type="hidden" name="on1" value="EMAIL" /> 
<input style="border:1px solid grey;" name="os1" type="text" 
class="formtext" /> 
<input type="hidden" name="cmd" value="_xclick"> 
<input type="hidden" name="business" value="<?php echo $paypalemail; ?>"> 
<input type="hidden" name="lc" value="U"> 
<input type="hidden" name="item_name" value="My Product Name"> 
<input type="hidden" name="amount" value="<?php echo $bronze_price; ?>"> 
<input type="hidden" name="currency_code" value="USD"> 
<input type="hidden" name="button_subtype" value="services"> 
<input type="hidden" name="no_note" value="0"> 
<input type="hidden" name="cn" value="Add special instructions to the 
seller"> 
<br /> 
<br /> 
<table width="50px" border="0" cellpadding="0" cellspacing="0"> 
<p style="color:black;">You have read and agreed to our <a style="text- 
decoration:underline;" href="http://mywebsite.com/terms-of-service" 
target="_blank">Terms of Service</a> 
       <tr onclick="document['Order'].submit()"> 
    <td style="background-color:#3cadd4;width:5px;cursor: pointer;"><div><a 
style="color:white;" href="#" onclick="document['Order'].submit()">PAY 
NOW</a> 
</div></td> 

</tr> 

</table> 
    <p style="color:black;">Price: $<?php echo $bronze_price; ?></p> 

</form> 
</div> 
</section> 

答えて

0

のPayPalボタンのコードではとPayPalチェックアウトページ配信アドレスの「no_shipping = 1」が削除されますパラメータを渡してくださいありがとうございます。

no_shippingいいえ
配送先の確認を求めないでください。

有効な値は次のとおりです。

0 - アドレスの入力を要求、が、1つを必要としません。

1 - アドレスの入力を求めないでください。

2 - アドレスの入力を要求し、それを要求します。 https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

デフォルトのPayPalボタンのHTML変数の詳細については、以下のリンクを参照してください0

です

関連する問題