简体   繁体   English

在PayPal Express Checkout中取消/禁用运输选项

[英]Suppress/Disable shipping option in paypal express checkout

I have implemented paypal checkout in my website. 我已经在我的网站上实施了贝宝结帐。 ( https://developer.paypal.com/docs/checkout/ ) https://developer.paypal.com/docs/checkout/

Its working fine. 它的工作正常。 My website is not allowing custom shipping address to customers. 我的网站不允许向客户提供自定义送货地址。 Instead Customers, needs to come to our office and collect the items they purchased. 相反,客户需要到我们的办公室来收集他们购买的物品。 So I want to disable/hide the shipping address in the paypal payment popup. 因此,我想在Paypal付款弹出窗口中禁用/隐藏送货地址。

I found an option of 'NOSHIPPING' variable to 1. But it seems deprecated and its SOAP method. 我发现'NOSHIPPING'变量的选项为1。但是它及其SOAP方法似乎已被弃用。

Is there anyway to disable shipping address change in paypal checkout payment popup. 无论如何,是否有在Paypal Checkout付款弹出窗口中禁用送货地址更改的功能。

With the REST API you create Experience Profiles for this sort of thing. 使用REST API,您可以为这种事情创建“ 体验配置文件 ”。

You can build an Experience Profile with a Brand Name, logo, options for allowing notes, disabling shipping, etc. So you could have separate profiles setup in different ways. 您可以使用品牌名称,徽标,允许备忘,禁用运输等选项来构建“体验配置文件”。因此,您可以通过不同的方式设置单独的配置文件。

Then you can pass the profile ID you want to use into your checkout/payment accordingly. 然后,您可以将要使用的个人资料ID相应地传递到结帐/付款中。

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

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