我可以在不依赖客户点击“返回网站”的情况下从 PayPal Standard 获得订单确认吗?来自贝宝?

发布于 2024-11-07 21:33:01 字数 338 浏览 0 评论 0原文

我需要在确认付款后进行订单处理。使用 PayPal 标准,有没有办法获取订单 ID(我的网站指定的)以及是否收到付款的标志?

看起来像 Joomla 这样的 CMS 已经能够完成我所描述的操作,但我在 PayPal 文档中找不到任何指示如何操作的内容。当然,我确信答案就在那里,我会继续寻找,但如果有人可以通过为我指明正确的方向来节省我一些时间,我真的很感激!

请提供更多信息,我正在使用 C# 在 ASP.NET MVC 中开发此网站。我也一直在研究 PayPal IPN 功能,但在与办公室的其他开发人员交谈后,他们强烈建议避开 IPN,因为它具有异步性质。

有什么想法吗?

感谢您的任何帮助。

I need to do order processing upon confirmation of payment. Using PayPal Standard, is there a way I can get an order ID (that my site specifies) and a flag for whether the payment is received or not?

It appears that CMS's like Joomla have been able to do what I'm describing, but I haven't been able to find anything in PayPal Documentation that indicates how. Of course, I'm sure the answer is in there, and I will ontinue looking, but if someone could save me some time by pointing me in the correct direction, I would really appriciate it!

Just a little more information, I am developing this site in ASP.NET MVC with C#. I have also been researching PayPal IPN feature, but after talking to other developers in the office, they strongly recommend steering clear of IPN because of it's asynchronous nature.

Any thoughts?

Thanks for any help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

橘味果▽酱 2024-11-14 21:33:01

从 PayPal 获取信息的方法有很多。本质上它们分为两类:“推”和“拉”。

“推送”是指 PayPal 向您推送信息。 当客户返回您的网站时,PayPal 有两种方式推送

  1. URL 中发送的信息。
  2. IPN 通知。

“拉取”是指您向 PayPal 请求信息。 PayPal 提供了多种 API,您可以使用它们来获取有关您的交易的信息。因此,例如,您可以设置一个作业,每 X 分钟运行一次,并向 PayPal 询问有关您知道已发送到 PayPal 的任何订单的信息,但您没有收到有关返回 URL 的信息。

以下是一些可以帮助您入门的链接:

https://www.x.com/community/ ppx/transaction_information
https://www.x.com/docs/DOC-1372

There are many ways to get information from PayPal. Essentially they break down into two categories, "push" and "pull".

"Push" is when PayPal pushes information to you. There are two ways that PayPal pushes information

  1. Information sent in the URL when the customer returns to your site.
  2. The IPN notifications.

"Pull" is when you request information from PayPal. PayPal provides a variety of APIs that you can use to get information about your transactions. So, for example, you could set up a job that runs every X minutes and asks PayPal for information about any orders that you know were sent to PayPal, but for which you didn't receive information on a return URL.

Here are a couple of links to get you started:

https://www.x.com/community/ppx/transaction_information
https://www.x.com/docs/DOC-1372

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文