使用 Paypal 时是否需要询问个人信息?
我正在编写一个基本的电子商务网站,唯一的付款方式是 Paypal。
然而,用户不必注册,他们将收到产品邮寄。
据我所知,您注册使用 Paypal,因此 Paypal 会存储您的个人信息(地址、姓名等)。
所以我的问题是,我是否需要要求用户输入他们的个人信息,而这些信息可以在Paypal,我想,希望有一个 API 可以检索它们。
谢谢
I'm writing a basic ecommerce website and the only payment mean is Paypal.
Users don't have to register however, they will be mailed their product.
As far as I know you to be registered to use Paypal, and therefore Paypal stores your personnal informations (Address, names, etc..)
So my question is do I need to ask to users to enter their personnal informations while it is available on Paypal, and I guess, hope, there is an API to retrieve them.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您必须询问他们想要将产品交付到的电子邮件地址,因为该地址不一定与他们在 PayPal 上使用的地址相符。您将通过 PayPal 的电子邮件收到一张发票,用于会计目的。
如果您需要客户详细信息,您应该查看 PayPal 的即时付款通知功能,您基本上给出一个 URL在您的网站上,然后 PayPal 将所有详细信息 POST-s 到该脚本。这样您就可以确定客户确实为服务付费。
涉及一个额外的 setep,用于验证您在 IPN 脚本中获得的详细信息,因为任何知道其 URL 的人都可以将任何内容发布到您的脚本中。另外一个好主意是将您的脚本放入诸如 dsf6dfsjj345432f8dsfj5j243826d 之类的随机目录中,并且不发布任何喜欢的内容,以最大程度地减少有人尝试使用您的脚本的可能性。
You have to ask for their e-mail addresses where they want the product delivered, as it do not neccesarily matches the one they used on PayPal. You will get an invoice in e-mail form PayPal for accounting purposes that sould do.
If you need customer details, you should look into the Instant Payment Notification feature of PayPal, you basically give a URL on your site, then PayPal POST-s all the details to that script. This way you can be sure that the customer actually payed for the services.
There is an extra setep involved, to verify the details you got in your IPN script as anyone who knows its URL can post anything to your script. Also a good idea to put your it into a random directory like
dsf6dfsjj345432f8dsfj5j243826d
and publish no liks to it, to minimze the possibility of someone trying to play around with your script.如果我正确理解您的问题,您不需要在您端存储客户的详细信息。 Paypal 只需要定价、产品和发票参考。他们管理存储和保护客户 CC 详细信息(例如)。您可以考虑存储一些客户详细信息(例如电子邮件、姓名、地址等......但不包括抄送详细信息)。
Paypal 通常会回发订单详细信息,其中包括客户详细信息(即电子邮件、联系方式、运输详细信息等)。然而,我并不完全确定他们是否提供了一个 API,可以在其中回顾性地查询这些信息……也许其他人可以对此提供帮助。
HTH 祝你好运
If I understand your question correctly, you do not need to store a client's details on your end. Paypal just requires pricing, product and an invoice reference. They manage storing and securing customer CC details (for example). You might consider storing some client details (such as email, name, address and so on.... but not CC details).
Paypal will often post back order details, which do include client details (i.e. email, contact, shipping details and so on). I, however, am not entirely sure that they supply an API where this information can queried retrospectively.... maybe someone else can help on this on.
HTH and good luck
研究一下他们的快速结帐方法。这是专为“准备”交易而设计的,您稍后在收到客户的送货地址后从您这边完成交易。您决定如何处理这取决于您。
Look into their Express Checkout approach. That is designed for "preparing" a transaction which you later on finalize from your end, after you have received the customers shipping address. What you decide to do with that is up to you.