如何快速集成paypal支付网关? [英] How to integrate paypal payment gateway quickly?

查看:90
本文介绍了如何快速集成paypal支付网关?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我正在更新ASP.Net 3.5内置的应用程序



我需要集成一个paypal支付网关。



我在页面上的内容是一个文本框。用户将填写该文本框中的金额并点击付款按钮。



用户现在应该被重定向到paypal。如果他的付款成功,他应该返回申请的成功页面。在这里,我需要将paypal事务ID和其他详细信息放入我的db表中。



如果我使用会话变量存储用户名,当用户从paypal回来时会保留吗?



请帮我解决方案或任何解决方案链接。



我的表格包括以下字段:用户名,金额,paypaltransID,paymentdate,paypalnotes,状态(是否支付交易是否确定)



我尝试过:



我在这里检查了很多教程,每个人都在做静态数量。

解决方案

永远不要接受来自不安全网站的代码来处理与真钱有关。

你不知道是谁给你代码,你不知道它做了什么,你不知道它把钱正确地放到了适当的账户里,没有将细节传递给任何第三方。



只能从Paypal自己获取此类代码 - 否则欺诈的范围太大了RGE。请记住,如果您的行为被视为疏忽,您个人可能会对丢失的任何款项承担责任 - 从公共论坛获取您的代码肯定会是!



联系他们 - 他们非常好,非常有帮助 - 并且可以帮助您设置沙盒进行测试,这意味着没有真正的钱被使用(如果你犯了错误并将其发送到我的银行账户而不是你的银行账户,则会丢失)。

Hello,

I'm updating an application built in ASP.Net 3.5

I need to integrate a paypal payment gateway.

What I have on the page is a textbox. The user will fill the amount in that textbox and hit Pay button.

The user should now be redirected to paypal. If his payment is successful, he should return back to a success page of the application. Here, I need the paypal transaction id and other details to put into my db table.

If I use a session variable to store username, will it be retained when the user comes back from paypal?

Please help me with a solution or any link with a solution.

My table has the following fields: username, amount, paypaltransID, paymentdate, paypalnotes, status(yes or not for payment transaction ok or not)

What I have tried:

I have checked a lot of tutorials here and everyone is doing static amount.

解决方案

Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.

Only get such code from Paypal themselves - the scope for fraud otherwise is far too large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!

Contact them - they are pretty good, pretty helpful - and can help you set up a sandbox for testing as well which means no real money get used (or lost if you make a mistake and send it to my bank account instead of yours).


这篇关于如何快速集成paypal支付网关?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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