We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
支付网关集成因提供商而异。有许多提供商,如 paypal、authorize.net、CCAvenue、2CO 等。因此,一般来说,没有明确的通用方法来集成任何和所有此类提供商。因此,您需要首先确定您希望使用哪个提供商,然后在相应提供商的开发人员中心网站上研究集成。
这里有一些参考供您开始。
PayPal 技术文档
PayPal 沙箱
< strong>2CO 开发者中心
授权.Net开发者中心
Payment gateway integration varies from provider to provider. There are many providers like paypal, authorize.net, CCAvenue, 2CO, etc. So there's no definite universal way of integrate any and all such providers in general. So you need to first conclude on which provider you wish to use and then study integration at respective provider's developer center website.
Here are some references for you to start with.
PayPal Technical Documentation
PayPal Sandbox
2CO Developer center
Authorize.Net Developer center
使用现有的此类服务提供商并使用他们的 API 怎么样?例如 Paypal?
What about using an already existing provider of a service like this, and use their api? Paypal for instance?
这是另一张。 http://ebooks.bigbinary.com/
它讨论了信用卡处理中资金的流动方式。
Here is another one. http://ebooks.bigbinary.com/
It discusses how the money flows in credit card processing .
当您使用在线支付网关设置商家帐户时,他们会为您提供有关如何与其交互的完整说明,通常还提供一些示例代码。
When you set up a merchant account with an online payment gateway they provide you with complete instructions on how to interface with it and usually some sample code.
如果您设置了沙箱/测试帐户,这里有一个重要提示;确保它已设置为电子商务/卡不存在。
Authorize.net 给了我一个零售测试帐户,该帐户只接受手动输入的信用卡......浪费了几个小时试图弄清楚为什么我的表单没有提交。
选择一个提供商并遵循教程。我想你会更容易找到 PHP 匹配教程来制作表单,而不是说……python 或 ruby。
John Conde 的博客中有大量有关 Authorize.net 网关的教程。顺便说一句,他为 Authorize.net 工作。
Here's a huge tip, if you set up a sandbox/testing account; MAKE sure it's setup for e-commerce/card not present.
Authorize.net gave me a retail test account which would only accept credit cards manually entered.....wasted a few hours trying to figure out why my form wasn't submitting.
Pick a provider and follow a tutorial. I'd imagine you'd have an easier time finding a PHP matching tutorial for making a form than say....python or ruby.
John Conde's blog has a bunch of tutorials on Authorize.net's gateyway. He works for Authorize.net btw.