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

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

问题描述

我查看了 Paypal 的 HTML 变量PayPal 支付标准非常接近并在整个网络上寻找答案.而且我很确定我已经知道我自己问题的答案,但这似乎太荒谬了.所以我问只是为了确保我没有遗漏任何东西.

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

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

我想发送收货地址的原因是为了使用PayPal的发货标签服务.>

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

那么有没有办法让这个工作?

我需要:

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

解决方案

您参考的文档确实回答了您的问题,尽管诚然,很难从所有可能性中找出您正在寻找的具体答案.具体看这里:

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

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

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

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

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

之所以如此复杂,部分原因是结帐流程有很多变体.PayPal 建议/更喜欢您让他们在他们的页面上收取买家的运费(和账单,如果需要),然后他们会将其返还给您.(这对 PayPal 账户持有人来说是迄今为止最好的,因为他们可能已经在 PayPal 存档了地址,因此根本不需要输入它们.)但是 PayPal 知道这不是每个商家都想要的这样做是为了让产品变得灵活——复杂到有时几乎无法理解.

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)

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.

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

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?

I need to:

  • Calculate shipping costs
  • Print labels
  • Keep the checkout process simple and fast

解决方案

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

... under the heading "Overriding Addresses Stored With 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.

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天全站免登陆