支付宝调起,应用签名失败,请联系商家
iOS调起支付宝客户端支付时官方demo出错
调起sdk正确url:
authInfoStr =
apiname=com.alipay.account.auth&app_id=2016121604340772&app_name=mc&auth_type=AUTHACCOUNT&biz_type=openservice&method=alipay.open.auth.sdk.code.get&pid=2088201197529831&product_id=APP_FAST_LOGIN&scope=kuaijie&sign_type=RSA&target_id=20170516113800037&sign=Ef1X6rBUhJ5GAEYs6I4Bms0l6yDadVjWDjPfbM3nzAT%2FbfRBxg13SioWy2njWZJ4kc2yAe20UYxY1UX1nlqsQAKC7grImv5xaHyhX17XzMQRjw%2BINQ9SzNPo7I3XTYyAGUE9q7gfq32bcDgGRbMVKhr1s3bjkKr%2BDfu%2Fo6fmM5%2FtJ3hozHP99j7H3vtLABDof8ZqMsdIOOHFvPIlF%2FhyjGWU68rprcRpWzdFOJbhXc39SYD7O7HBbEWo0XS05DFnMrO1mtMPMr777qa2IXCiw1PLs0K74yAeX2n6PupK8XTO5nA3UojNNMMvdpiLqzn09APpCO4%2BusiTmlYWbzFXCA%3D%3D
官方demo的sign_type=RSA是放在后面的这时会提示商户应用签名失败,被坑了一天。总结:应该先看官方标准权威文档,里面有明确解释参数拼接,参数意义