Android|Android 支付宝/微信支付结果判断

微信支付结果码
private static final int PAY_OK = 0; //交易成功
private static final int PAY_ERR = -1; //交易失败
【Android|Android 支付宝/微信支付结果判断】private static final int PAY_CANCLE = -2; //交易取消
支付宝支付结果码
private static final String PAY_OK = "9000"; // 支付成功
private static final String PAY_WAIT_CONFIRM = "8000"; // 交易待确认
private static final String PAY_NET_ERR = "6002"; // 网络出错
private static final String PAY_CANCLE = "6001"; // 交易取消
private static final String PAY_FAILED = "4000"; // 交易失败
转载于:https://www.cnblogs.com/monkey0928/p/8808776.html

    推荐阅读