Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic run android之后,运行creatPayment,闪退 #34

Open
chenhg5 opened this issue Aug 5, 2016 · 7 comments
Open

ionic run android之后,运行creatPayment,闪退 #34

chenhg5 opened this issue Aug 5, 2016 · 7 comments

Comments

@chenhg5
Copy link

chenhg5 commented Aug 5, 2016

失败的时候会返回"fail",但是成功的时候,直接弹窗"Unfortunately XXX has stopped",然后应用直接关掉了。这是什么原因?安卓平台版本的问题?

@chenhg5
Copy link
Author

chenhg5 commented Aug 5, 2016

这是安卓版本:

image

这是createPayment函数:

createPayment: function (data) {
        return $http.post(ENV.DOMAIN + 'common/pay',data).then(function(response) {
            console.log('charge:'+JSON.stringify(response.data));
            window.pingpp.createPayment(response.data, function () {
                console.log('succeed!');
            }, function (err) {
                console.log('pingpp请求:'+JSON.stringify(err));
            });
        }, function(response) {
            console.log('http请求:'+JSON.stringify(response));
        });
    },`

@mayaqi123
Copy link

楼主您好,我遇到了跟您一样的问题,请问您解决了吗?

@chenhg5
Copy link
Author

chenhg5 commented Oct 13, 2016

@mayaqi123 没有,用了另一个插件后来。

@rightbayes
Copy link

@chenhg5 请问你用的是什么插件?

@chenhg5
Copy link
Author

chenhg5 commented Oct 19, 2016

@rightbayes cordova-alipay-base, 这个插件

@neoliao
Copy link

neoliao commented Nov 28, 2016

下载pingxx android 2.1.3的sdk, ios 2.2.4手工替换一下可以解决闪退等问题

@GP2513
Copy link

GP2513 commented Dec 20, 2016

@neoliao 请问怎么操作能否加Q聊一下我们正在被这个问题所困扰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants