将 PayPal 集成到注册系统中最简单的方法是什么?
如何将一次性费用整合到 paypal 中?
用户单击“注册”,然后进入一个页面以确认条款和条件,并支付 50 英镑,然后 - 如果成功,他们将进入一个可以输入详细信息并创建帐户的页面...但我只想要这个来自 paypal 的用户可以看到页面。
我想过使用令牌,但我不知道如何使用它们。
How do I integrate a one time fee into paypal?
The user clicks SignUp then is taken to a page to confirm t&c's and where they pay £50, they are then - if successful, taken to a page where they can enter details and create an account... but I only want this page to be visible to users coming from paypal.
I thought about using tokens, but I do not know how to use them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 paypal IPN,它们有大量代码示例,并且 paypal 沙箱有一些很棒的工具可以帮助您入门。
流程会像这样工作。
你的后端...
1. 用户付款后,PayPal 会将交易详细信息发布到您提供的 URL 上。
2. 您的系统通过与 PayPal 的连接完成握手。
3. Paypal 将交易详细信息发送回您的服务器,然后您验证总额和任何其他必要的验证。
4. 验证后,您的系统会向新用户生成一封电子邮件,其中包含其帐户详细信息。
如果这没有意义或者需要进行哪些额外的阐述,请告诉我。另外,如果您让我知道您使用什么语言进行编码,我可以为您提供一些示例代码。
[编辑]
这是 paypal IPN 的 URL --> https://www.paypal.com/ipn
--Dan
[编辑]
这是一个示例表单。此表单发布单个项目以向 PayPal 付款。
You can use the paypal IPN which they are plenty of code samples and the paypal sandbox has some great tools to get you started.
The flow would work like this.
Your back end...
1. After the user pays, paypal will post the details of the transaction to a URL you provide.
2. Your system completes a handshake over a connection to paypal.
3. Paypal sends the details of the transaction back to your server and you validate the total and any other necessary validations.
4. After validation, you system generates an email to the new user with their account details.
Let me know if that does not make sense or what additional elaborations are needed. Also if you let me know what language your coding in, I can pull up some sample code for you.
[EDIT]
Here is a URL to the paypal IPN --> https://www.paypal.com/ipn
--Dan
[edit]
Here is an example form. This form posts a single item for payment to paypal.