贝宝付款-一步付款 [英] PayPal Payment - Do a payment in one step

查看:120
本文介绍了贝宝付款-一步付款的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张表格,人们可以用固定的金额订购一件商品.步骤如下:

I have a form where people can order one single item for a fixed amount of money. Here are the steps:

  • 客户填写表格
  • 客户匹配项提交并进入审阅页面,他可以在其中检查输入内容
  • 评论表中的按钮应为使用Paypal付款的按钮(具有自己的设计和文字的按钮)
  • 客户点击此按钮,进入贝宝,进行付款
  • 成功付款后,应将其重定向到我网站上的表单,在该表单上可以看到付款结果
  • 无论付款成功与否,他都可以从PayPal返回字符串中看到表单应用程序生成的消息

我尝试过,但是我唯一能做的就是他提交表单后登录贝宝,单击继续"按钮,然后重定向到我的网站,他可以在该站点再次查看其订单并需要点击支付". "以再次处理他的订单.

I tried it but the only thing I can do is that after he submits the form he logs into PayPal, hits the "continue" button and is redirected to my site where he can review his order again and needs to hit "Pay" again to get his order processed.

因此,我想要的是客户在我的网站上进行所有输入和评论,然后他按我自己的样式点击付款"按钮,然后转到PayPal,在该地点付款而无需返回我的网站,直到付款完成.然后,他应该被重定向到我的网站并收到相应的消息.

So all I want is that the customer does all the inputs and reviews on my site and after that he hits a "Pay" button in my own style and proceeds to PayPal where he pays the order without getting back to my site until the payment is done. Then he should be redirected to my site and receives the appropriate message.

我需要什么样的PayPal功能? 希望这足够清楚.如果您需要更多信息,请告诉我.谢谢大家.

What kind of PayPal function do I need? Hope this was clear enough. Please let me know if you need further information. Thank you all in advance.

推荐答案

Paypal Express Checkout是您所需要的,它将解决您的问题

Paypal Express Checkout is what you are looking for, it will solve your problem

遵循示例并进行指导:

链接到代码示例

链接到Paypal文档

这篇关于贝宝付款-一步付款的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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