The invention discloses a method of payment and payment device, the middle layer module and the method is applied to the payment platform, the payment platform comprises an independent middle layer module and the interface, the method through the middle layer module is received by the user from the terminal through the interface to send the request for payment, the payment request including the payment information; then according to the payment system and payment information to determine the corresponding information, and sends the payment information to the payment system to determine the payment system corresponding to the payment terminal. The present invention created by the independent server independently set up a middle layer module for payment, information and payment system, each terminal receives the request, determine the payment system from the middle layer module, and then the payment system is sent to the corresponding information for payment, the increase in the payment system, the overall code no longer need to modify the server, and all without the upgrade of the original system, easy to expand for the payment system.
【技术实现步骤摘要】
一种支付方法及支付装置
本专利技术涉及网络支付
,特别是涉及一种支付方法及支付装置。
技术介绍
随着电子交易的兴起,安全、便捷的网络支付平台也随之兴起。目前,提供网络支付的主要形式是当用户在购物网站创建一笔交易后,通过支付系统完成交易的付款。若某媒资运营平台需要引入新的媒资,且新媒资需要通过新的支付系统进行支付时,就要在媒资运营平台进行订购内容的扩展,而对不同的媒资进行订购时,其研发的对应支付系统具有差异性,因此,要想满足用户在终端进行统一订购的需求,每次都需进行支付系统的对接。然而原有系统每增加一个支付系统,都需要进行服务器的整体代码的修改,且需要对原有系统进行全部升级,不易进行扩展。
技术实现思路
本专利技术的目的在于提出一种支付方法及支付装置,以解决现有技术中在增加支付系统时,需要进行支付系统对接,需要进行服务器的整体代码的修改,且需要对原有系统进行全部升级,不易进行扩展的问题。为达到上述目的,本专利技术提供了以下技术方案:一种支付方法,应用于支付平台的中间层模块,所述支付平台包括相互独立的所述中间层模块和接口,所述方法包括:接收由用户从终端通过所述接口发送的支付请求,所述支付请求中包括支付信息;根据所述支付信息确定与所述支付信息相对应的支付系统,并将所述支付信息发送到所述支付系统;当接收到所述支付系统返回的支付结果时,将所述支付结果通过所述接口发送给所述终端。其中,所述接收由用户从终端通过所述接口发送的支付请求,具体包括:所述接口接收由用户从所述终端发送的支付请求;将所述支付请求发送到中间层模块。其中,在所述接收所述接口发送的支付请求步骤之前,还 ...
【技术保护点】
一种支付方法,其特征在于,应用于支付平台的中间层模块,所述支付平台包括相互独立的所述中间层模块和接口,所述方法包括:接收由用户从终端通过所述接口发送的支付请求,所述支付请求中包括支付信息;根据所述支付信息确定与所述支付信息相对应的支付系统,并将所述支付信息发送到所述支付系统;当接收到所述支付系统返回的支付结果时,将所述支付结果通过所述接口发送给所述终端。
【技术特征摘要】
1.一种支付方法,其特征在于,应用于支付平台的中间层模块,所述支付平台包括相互独立的所述中间层模块和接口,所述方法包括:接收由用户从终端通过所述接口发送的支付请求,所述支付请求中包括支付信息;根据所述支付信息确定与所述支付信息相对应的支付系统,并将所述支付信息发送到所述支付系统;当接收到所述支付系统返回的支付结果时,将所述支付结果通过所述接口发送给所述终端。2.根据权利要求1所述的支付方法,其特征在于,所述接收由用户从终端通过所述接口发送的支付请求,具体包括:所述接口接收由用户从所述终端发送的支付请求;将所述支付请求发送到中间层模块。3.根据权利要求1或2所述的支付方法,其特征在于,在所述接收所述接口发送的支付请求步骤之前,还包括:预先配置支付信息与支付系统的映射关系表。4.根据权利要求3所述的支付方法,其特征在于,所述根据所述支付信息确定与所述支付信息相对应的支付系统,并将所述支付信息发送到所述支付系统,具体包括:根据所述支付信息在所述映射关系表中查找对应的支付系统;将所述支付信息分发至所述支付系统。5.根据权利要求1或2所述的支付方法,其特征在于,在所述接收所述接口发送的支付请求步骤之前,还包括:所述接口接收所述终端发送的支付请求;根据所述支付请求判断所述终端的支付类型,所述支付类型包括:余额支付和支付系统支付。...
【专利技术属性】
技术研发人员:徐佳宏,王雪静,何小芬,刘波波,陈恋,
申请(专利权)人:深圳市茁壮网络股份有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。