l***@sina.com
l***@sina.com
  • 发布:2023-05-24 16:34
  • 更新:2023-05-25 17:00
  • 阅读:159

【报Bug】uni.requestPayment 发起apple 内购订阅不成功

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: windows10 企业版 1909

HBuilderX类型: 正式

HBuilderX版本号: 3.7.11

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: 12 mini

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
uni.requestPayment({  
      provider: 'appleiap',  
      orderInfo: {  
        manualFinishTransaction: true,    
        productid: productId,    
        username: xxxxxxxxx,  
      },  
      success: e => {  

        uni.hideLoading()  
        resolve(e)  
      },  
      error: e => {  
        uni.hideLoading()  
        console.log(e)  
        resolve({})  
      },  
      complete: e => {  

        uni.hideLoading()  
        console.log('complete', e)  
      }  
    })

操作步骤:

每次支付都是如此

预期结果:

支付成功,且返回正常结果

实际结果:

支付失败,且是在回调complete出报文

bug描述:

在APP 中使用uni.requestPayment 实现苹果内购,消耗性产品使用正常,订购及确认都可以正常使用,但是消耗型商品在发起支付时候,输入appleid密码后,收到的支付失败的报文,如附件,没有一次成功过,目前又遇到两种报文返回

2023-05-24 16:34 负责人:无 分享
已邀请:
DCloud_iOS_WZT

DCloud_iOS_WZT

现在还有问题么 最近苹果服务器波动 之前有内购用户反馈沙箱环境购买不了

  • l***@sina.com (作者)

    直至今天,情况还是一样的。。

    2023-05-28 17:15

  • DCloud_iOS_WZT

    回复 l***@sina.com: 用的是测试的开发者账号吗

    2023-05-29 12:01

  • l***@sina.com (作者)

    回复 DCloud_iOS_WZT: 是的,用的是沙箱账号进行测试的,

    2023-06-02 16:41

要回复问题请先登录注册