简体   繁体   English

通过PayPal和信用卡接收付款

[英]Receiving payments trough PayPal and Credit Card

I am developing a website and I need to receive payments from PayPal and Credit Card, the thing is that I know nothing about this, and my question is where I can find some great resources to help me, or if you have some example codes, everything that can help me. 我正在开发一个网站,我需要收到PayPal和信用卡的付款,问题是我对此一无所知,我的问题是我可以找到一些很好的资源来帮助我,或者如果你有一些示例代码,一切都可以帮助我。

Thank's alot. 非常感谢。

If you're planning on Paypal integration you'll find Paypal's Sandbox a vital tool; 如果您计划进行Paypal集成,您会发现Paypal的Sandbox是一个重要的工具;

https://developer.paypal.com/ https://developer.paypal.com/

As this sort of thing can be a chore and you'll probably end up using Paypal's IPN service (Instant Payment Notification) anyway, I'd do a search for "Paypal IPN class" and save yourself some development time. 因为这种事情可能是一件苦差事,你可能最终会使用Paypal的IPN服务(即时付款通知),我会搜索“Paypal IPN类”并节省一些开发时间。

PS I don't know whether IPN is specific to a particular Paypal solution (ie Payments Pro) or if it's relevant to all Paypal solutions, if someone who knows could edit/update/comment then I'd be very grateful. PS我不知道IPN是否特定于特定的Paypal解决方案(即Payments Pro),或者它是否与所有Paypal解决方案相关,如果有人知道可以编辑/更新/评论,那么我将非常感激。

Create an account at paypal. 在paypal创建一个帐户。 Then you will have access to its webbased API's. 然后您将可以访问其基于Web的API。 It ships with decent documentation and support. 它提供了不错的文档和支持。

The same story applies to other decent credit card companies: just have an account and ask/look for its webbased API's. 同样的故事适用于其他体面的信用卡公司:只需拥有一个帐户并询问/寻找其基于网络的API。 Your webapplication has just to call those API's. 您的Web应用程序只需调用这些API即可。

You will need to acquire a Merchant Account in order to process payments via Credit Card. 您需要获得商家帐户才能通过信用卡处理付款。 These companies typically charge a percentage per sale. 这些公司通常收取每次销售的百分比。 I cannot recommend you one at this time. 我此时不能推荐你。

As for PayPal, there are free and paid services through them as well. 至于PayPal,也有免费和付费服务。 You can use PayPal as your merchant account as well, I think I recall. 我想我也可以使用PayPal作为您的商家帐户。 (Correct me if I am wrong). (如果我错了,请纠正我)。

Regardless, a project like this will require a lot of reading, and testing by your part. 无论如何,这样的项目需要大量阅读,并且需要您的测试。 Dealing with online transactions such as this, is an amazingly rewarding experience. 处理此类在线交易是一种非常有益的体验。

PayPal刚刚在https://www.x.com/上推出了一个全新的开发者网站

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM