l***@gmail.com
l***@gmail.com
  • 发布:2024-06-27 16:47
  • 更新:2024-06-27 17:04
  • 阅读:4

stripe支付集成

分类:uni-app

您好,我按文档https://en.uniapp.dcloud.io/tutorial/app-payment-stripe.html,配置了stripe支付,但是getProvider返回的里面却没有。

manifest配置:

/* SDK配置 */  
            "sdkConfigs" : {  
                "ad" : {},  
                "payment" : {  
                    "stripe" : {  
                        "__platform__" : [ "ios", "android" ],  
                        "returnURL_ios" : "bohvan://stripe"  
                    }  
                }  
            },

getProvider返回:

{  
    "errMsg": "getProvider:ok",  
    "service": "payment",  
    "provider": [  
        "alipay",  
        "wxpay"  
    ],  
    "providers": [  
        {  
            "id": "alipay",  
            "description": "支付宝",  
            "serviceReady": true,  
            "installService": "function() { [native code] }",  
            "appStoreReceipt": "function() { [native code] }",  
            "finishTransaction": "function() { [native code] }",  
            "restoreCompletedTransactions": "function() { [native code] }",  
            "restoreComplateRequest": "function() { [native code] }",  
            "requestProduct": "function() { [native code] }",  
            "requestOrder": "function() { [native code] }",  
            "isReadyToPay": "function() { [native code] }",  
            "isAppExist": true  
        },  
        {  
            "id": "wxpay",  
            "description": "微信",  
            "serviceReady": true,  
            "installService": "function() { [native code] }",  
            "appStoreReceipt": "function() { [native code] }",  
            "finishTransaction": "function() { [native code] }",  
            "restoreCompletedTransactions": "function() { [native code] }",  
            "restoreComplateRequest": "function() { [native code] }",  
            "requestProduct": "function() { [native code] }",  
            "requestOrder": "function() { [native code] }",  
            "isReadyToPay": "function() { [native code] }",  
            "isAppExist": true  
        }  
    ]  
}

hbuilderx版本:4.15

2024-06-27 16:47 负责人:无 分享
已邀请:
l***@gmail.com

l***@gmail.com (作者)

应该是要用自定义基座

要回复问题请先登录注册