Payment mode determining method and device and storage medium

文档序号:1379490 发布日期:2020-08-14 浏览:20次 中文

阅读说明:本技术 支付方式确定方法、装置及存储介质 (Payment mode determining method and device and storage medium ) 是由 饶福贵 于 2020-03-30 设计创作,主要内容包括:本公开是关于一种支付方式确定方法、装置及存储介质。支付方式确定方法应用于终端,所述方法包括:当所述终端上运行的应用需进行支付操作时,获取所述终端的国家码;调用匹配所述国家码的支付方式进行支付。通过本公开能够实现无需更改系统代码支持不同国家和地区的应用支付功能。(The disclosure relates to a payment method determination method, a payment device and a storage medium. The payment method determination method is applied to the terminal, and comprises the following steps: when an application running on the terminal needs to carry out payment operation, acquiring a country code of the terminal; and calling a payment mode matched with the country code to pay. The application payment function supporting different countries and regions without changing system codes can be realized through the method and the system.)

1. A payment method determination method is applied to a terminal, and the method comprises the following steps:

when an application running on the terminal needs to carry out payment operation, acquiring a country code of the terminal;

and calling a payment mode matched with the country code to pay.

2. The payment method of claim 1, wherein obtaining the country code of the terminal comprises:

acquiring a country code of the terminal based on a USIM card installed in the terminal; and/or

And acquiring the country code of the terminal based on the system country code of the terminal.

3. The payment method determination method of claim 1, wherein invoking the payment method matching the country code for payment comprises:

calling the SDK matched with the country code in at least one SDK through a uniform SDK interface aggregated with at least one Software Development Kit (SDK), and displaying a payment mode corresponding to the SDK;

and the SDK of each country code and the payment mode have a corresponding relation.

4. The payment method of claim 3, wherein the correspondence between the SDK of each country code and the payment method is preconfigured by the cloud server.

5. The payment method determination method of claim 1, wherein invoking the payment method matching the country code for payment comprises:

and acquiring payment mode configuration information set by the user based on the country code, and determining a payment mode matched with the country according to the payment mode configuration information.

6. The payment means determination method according to any one of claims 3 to 5, wherein the payment means has a correspondence with a currency type;

the calling the payment mode matched with the country code comprises the following steps:

and calling a payment mode which is matched with the national currency type corresponding to the country code and supported by the country corresponding to the country code.

7. A payment means determining apparatus, comprising:

the terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a country code of the terminal when an application running on the terminal needs to carry out payment operation;

and the calling unit is used for calling the payment mode matched with the country code to carry out payment.

8. The payment means determining apparatus according to claim 7, wherein the obtaining unit is configured to obtain the country code of the terminal in the following manner:

acquiring a country code of the terminal based on a USIM card installed in the terminal; and/or

And acquiring the country code of the terminal based on the system country code of the terminal.

9. The payment method determination device as claimed in claim 7, wherein the invoking unit is configured to invoke the payment method matching the country code to pay in the following manner:

and calling the SDK matched with the country code in the at least one SDK through a uniform SDK interface aggregated with at least one Software Development Kit (SDK), and displaying a payment mode corresponding to the SDK, wherein the SDK of each country code has a corresponding relation with the payment mode.

10. The payment method determination apparatus of claim 9, wherein the correspondence between the SDK of each country code and the payment method is pre-configured by the cloud server.

11. The payment method determination device as claimed in claim 7, wherein the invoking unit is configured to invoke the payment method matching the country code to pay in the following manner:

and acquiring payment mode configuration information set by the user based on the country code, and determining a payment mode matched with the country according to the payment mode configuration information.

12. The payment means determining apparatus according to any one of claims 9 to 11, wherein the payment means has a correspondence with a currency type;

the calling unit is used for calling the payment mode matched with the country code in the following mode:

and calling a payment mode which is matched with the national currency type corresponding to the country code and supported by the country corresponding to the country code.

13. A payment means determining apparatus, comprising:

a processor;

a memory for storing processor-executable instructions;

wherein the processor is configured to: the payment means determination method of any one of claims 1 to 6 is performed.

14. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the payment method determination method of any one of claims 1 to 6.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种安全业务交易方法、装置及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!