是否可以将送货地址发送到Paypal Standard? [英] Is it possible to send shipping address to Paypal Standard?

查看:76
本文介绍了是否可以将送货地址发送到Paypal Standard?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我查看了 Paypal的HTML变量贝宝付款标准非常紧密 并在网上寻找答案.而且我敢肯定,我已经知道了自己的问题的答案,但这似乎太荒谬了.所以我只是想确保我没有遗漏任何东西.

I have looked at Paypal's HTML Variables for PayPal Payments Standard very closely and looked all over the web for an answer. And I'm pretty sure I already know the answer to my own question, but it seems too absurd. So I'm asking just to make sure I'm not missing anything.

我意识到这基本上是这个问题,但他得到了一个愚蠢的答案.
(更新:愚蠢的答案已被删除,现在有一个

I realize this is basically a duplicate to this question, but he was given one stupid answer.
(Update: The stupid answer has been removed, and now there is a very good answer by another user)

我正在我的网站上收集客户的账单和收货地址.我可以将帐单地址发送给PayPal,但不能将送货地址发送给PayPal.

I am collecting the customer's billing and shipping addresses on my site. I can send the billing address, but not the shipping address to PayPal.

我要发送送货地址的原因是使用 PayPal的送货标签服务.

The reason I want to send the shipping address is to use PayPal's shipping label service.

我意识到我可以将no_shipping变量设置为2以提示PayPal并要求送货地址,但是我正在使用他们在我的网站上输入的地址来通过USPS的API计算送货费用.因此,我需要在网站上进行提示,并且我不想让客户在PayPal上第二次填写他们的地址.

I realize that I could set the no_shipping variable to 2 to have PayPal prompt for and require a shipping address, but I am using the address they input on my site to calculate shipping costs with USPS' API. So I need to prompt on the site, and I don't want to make the customer fill in their address a SECOND time on PayPal.

那么有什么方法可以使这项工作成功吗?

So is there a way to make this work?

我需要:

  • 计算运费
  • 打印标签
  • 使结帐过程保持简单,快速

推荐答案

您所引用的文档确实回答了您的问题,尽管诚然,要从所有可能性中找出所需的具体答案是很困难的.在这里专门查看:

The document you reference does actually answer your question, although admittedly it is hard to pull out the specific answer you are looking for from all the possibilities. Look specifically here:

https://developer.paypal .com/docs/classic/paypal-payments-standard/integration-guide/formbasics/#id08A6F0SJ04Y

...在覆盖PayPal存储的地址"标题下.

... under the heading "Overriding Addresses Stored With PayPal."

或者至少是用于为贝宝帐户持有人传递送货地址的部分.如果您使用的是PayPal帐户(可选),则情况更加复杂,请参见此处:

Or at least, that is the section for passing in a shipping address for PayPal account holders. If you are using PayPal account optional then it's even more complicated, see here:

https://developer.paypal .com/docs/classic/paypal-payments-standard/integration-guide/Appx_BillingShippingAddress/#id08A9BM00A5Z

简短的回答:您不能传递两个单独的地址,但是传递的地址(通常取决于几个相关的变量和条件)被视为送货地址.

Short answer: you can't pass in two separate addresses, but the address you pass is (usually, depending upon several related variables & conditions) treated as shipping address.

之所以如此复杂,部分原因是结帐流程的变体太多.贝宝(PayPal)建议/建议您让他们在其页面上收集买方的运费(以及帐单,如果需要的话/如果需要的话),他们会将其发给您. (这对PayPal帐户持有人来说是迄今为止最好的选择,因为他们可能已经在PayPal上记录了地址,因此根本不必键入地址.)但是PayPal知道,这并不是每个商人都想这么做的这样做是为了使产品具有灵活性-如此复杂以至于有时几乎无法理解.

Part of the reason this is so complicated is that there are so many variants of checkout flows. PayPal recommends/prefers that you let them collect the buyer's shipping (and billing, where/if required) on their page and they will pass it back to you. (And this is by far the best for PayPal accountholders since they probably have the address(es) on file already with PayPal and thus don't have to type them at all.) But PayPal knows that isn't how every merchant wants to do it so the product is flexible -- to the point of being so complex it is almost incomprehensible at times.

这篇关于是否可以将送货地址发送到Paypal Standard?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆