简体   繁体   English

PHP中的WePay付款网关集成

[英]WePay payment gateway integration in PHP

I want to integrate WePay payment gateway for my site. 我想为我的网站集成WePay付款网关。 I have download SDK from www.wepay.com and integrate it as the API tutorial given in WePay, i am done till account creation and API call, but stuck in checkout page. 我已经从www.wepay.com下载了SDK,并将其集成为WePay中提供的API教程,直到帐户创建和API调用我都完成了,但是卡在结帐页面中。 My checkout page goes blank, i am not able to find what the actual problem is? 我的结帐页面为空白,我找不到实际的问题是什么?

If anybody is familiar with WePay payment gateway then, please help me out from this problem. 如果有人熟悉WePay付款网关,请帮助我解决此问题。

I would suggest you to start with trying to get a decent error message. 我建议您首先尝试获得体面的错误消息。 You can check what they mean here . 您可以在此处查看它们的含义。 Use the developer tools like the network tab in Chrome, or Firebug to see how the requests are send and what errors are sending back. 使用开发工具,例如Chrome中的“网络”标签或Firebug,查看请求的发送方式以及发回的错误。 An API call is based on an HTTP request so is easy to monitor. API调用基于HTTP请求,因此易于监控。 It can be that the user is not good or the token or a million other things. 可能是用户不好,或者是令牌或一百万其他事物。

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

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