简体   繁体   English

从Paypal结帐中删除送货地址?

[英]Remove delivery address from Paypal checkout?

I have a Paypal form on my website, but for some reason when the user goes to the checkout Page on Paypal's website, it shows their 'delivery address'. 我的网站上有一个Paypal表单,但是由于某种原因,当用户转到Paypal网站上的结帐页面时,它会显示其“收货地址”。 Does anyone know how I can remove this? 有人知道我该如何删除吗? Thank you 谢谢

        <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>

Please pass the parameter "no_shipping =1" in the PayPal button code and on the PayPal checkout page Delivery address will be removed. 请在PayPal按钮代码中以及PayPal结帐页面上传递参数“ no_shipping = 1”,送货地址将被删除。

no_shipping No no_shipping否
Do not prompt buyers for a shipping address. 不要提示买家输入送货地址。

Valid value is: 有效值为:

0 - Prompt for an address, but do not require one. 0-提示输入地址,但不需要一个。

1 - Do not prompt for an address. 1-不提示输入地址。

2 - Prompt for an address and require one. 2-提示输入地址,并要求输入一个。

Default is 0. 默认值为0。

Refer the following link for more information about PayPal Button HTML variables: https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/ 请参阅以下链接,以获取有关PayPal Button HTML变量的更多信息: https : //developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM