php与国付宝衔接过程吐槽
php与国付宝对接过程吐槽
近期,我们在打造全国第一家互联网+风险管理平台(避险谷)时,需要与第三方支付平台“国付宝”进行在线交易对接。
之前对接过支付宝 ,感觉还很简单,拿到国付宝的接口文档,我晕啊,几十个字段,下面就谈谈对接过程中的体会。
1、 尽量不要搞在线订单,退货
原本想实现在线订货,通过国付宝进行在线支付,后发现成功后,由国付宝推送过来的信息容易丢失。
找到国付宝的技术支持,对方给出的答复是后台已推送该信息,可我方并没有收到,你说给了,我说没收到,扯皮吧。
而且如果用户要退货,那么需要7个工作日才能将购物款退到用户银行卡上。
所以,我们放弃了这种在线支付方式,改为在线充值后购买,信托100也是这么做的。
2、后台对接国付宝的反馈服务,需要做排重
原以为交易成功后,国付宝给我方后台服务地址推送信息即可,没想到有时会不停的推送,一共要6次,每分钟1次,
我方后台数据库挤满了重复数据,找到国付宝技术支持,答复为避免收不到信息的情况,所以搞了这样的推送机制,汗...
因此,商家后台需要做信息排重功能。
3、个别银行有延迟
在网站上线测试期间,发现个别银行在充值时,有延迟现象,比如工行和建行,某日10:18分充的值,10:36才到账,
我还以为是程序出了问题,检查了半天,后咨询国付宝技术支持,说是银行对接有问题,又汗。
4、国付宝给的demo不给力
我网站使用的是php预言,国付宝给出的demo中有php的,但根本无法使用,如HttpClient程序,找国付宝技术支持,
他们表示无能为力,再汗,最后还是自己搞定这个难题。
总的来说,国付宝虽然对接费用比支付宝便宜很多,但对接过程麻烦和周期长,却是国付宝的短板所在(前后差不多调了半个多月),
而且有时候技术支持不给力,只能告诉你他们后台信息收到和推送了没有,其他方面没办法支持,不可能因为你一家去调试他们的程序,
有时候还找不到人。
鄙人在此吐槽,见谅!http://www.pwitsoft.com
版权声明:本文为博主原创文章,未经博主允许不得转载。
版权声明:本文为博主原创文章,未经博主允许不得转载。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











PHP is a scripting language widely used on the server side, especially suitable for web development. 1.PHP can embed HTML, process HTTP requests and responses, and supports a variety of databases. 2.PHP is used to generate dynamic web content, process form data, access databases, etc., with strong community support and open source resources. 3. PHP is an interpreted language, and the execution process includes lexical analysis, grammatical analysis, compilation and execution. 4.PHP can be combined with MySQL for advanced applications such as user registration systems. 5. When debugging PHP, you can use functions such as error_reporting() and var_dump(). 6. Optimize PHP code to use caching mechanisms, optimize database queries and use built-in functions. 7

PHP and Python each have their own advantages, and the choice should be based on project requirements. 1.PHP is suitable for web development, with simple syntax and high execution efficiency. 2. Python is suitable for data science and machine learning, with concise syntax and rich libraries.

PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

PHP is widely used in e-commerce, content management systems and API development. 1) E-commerce: used for shopping cart function and payment processing. 2) Content management system: used for dynamic content generation and user management. 3) API development: used for RESTful API development and API security. Through performance optimization and best practices, the efficiency and maintainability of PHP applications are improved.

PHP is still dynamic and still occupies an important position in the field of modern programming. 1) PHP's simplicity and powerful community support make it widely used in web development; 2) Its flexibility and stability make it outstanding in handling web forms, database operations and file processing; 3) PHP is constantly evolving and optimizing, suitable for beginners and experienced developers.

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP is suitable for web development, especially in rapid development and processing dynamic content, but is not good at data science and enterprise-level applications. Compared with Python, PHP has more advantages in web development, but is not as good as Python in the field of data science; compared with Java, PHP performs worse in enterprise-level applications, but is more flexible in web development; compared with JavaScript, PHP is more concise in back-end development, but is not as good as JavaScript in front-end development.

PHP and Python have their own advantages and disadvantages, and the choice depends on project needs and personal preferences. 1.PHP is suitable for rapid development and maintenance of large-scale web applications. 2. Python dominates the field of data science and machine learning.
