机型:iPhone4
系统:ios7.1.2
引擎:sdksuit_3.0_150114_02(官方引擎)
case:
content="target-density, dpi=device-dpi, width=device-width, initial-scale=1.0, user-scalable=no" />
input{
font-size: 22px;
color:#000000
}
b {
font-size: 22px;
}
var partner = "20882114172**18";
var seller = "78871900@qq.com";
var rsaPrivate = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKbw8KoSfMCmRFRvsSMRF0zsYTtAP6rF2XGpfAlvE/Y6vyJGNzIDOTCHTYCw28Un7XMz6grtRALVltXzzT7W45BSSINAYqmfWWiYGrZjgjWRdq15XHTDBY+Jfyy3Y+eRRwogTQjG7I0ke8mod6e/C4ey1ALEx**aSb/e+35fYQNAgMBAAECgYEAhN5lnedC9Y4f+lg/UxqqQeYtaRw00DXSYD215EhNSf/t2liqW5rnLLGzxMZ+1Id33OYn0/SN2fenqrf11prv2MgaxoBbcVWfr1IXsgnem/FAi3V6avoaixop56FXhasUkxjczlijlqB5kLS3cWZbPhVYhn4E3TszcjtLOsIe6D0CQQDRQnWcaXH/aFh/0g9gllG52F5yOXkEGPMLEc1h3hD9+SXn9QqnM50ZHJBarPo/FriVa2ZjTDHtb8WEILNu4pMrAkEAzDqyeJfP5DcQcwaJpRCaFReVeHhViG3z3Yq8vVprCS45ly3fSRddL4H8SGWwDEoB+OzkzwGb/E/bBFpKgAkJpwJAKOvmNAAq2td89wINH8ZFlSJK1euHTtXSMYf5sfnLON9QGlxBCRF+1zpOwGyzQ0MeNZobG6/604PYDE6YyEZmoQJBAL41lO84BUl593oKBryTn84xLucKvC7aqRwXEP4SbkoYoU6qTKGYfxO2Lq+G9dYcP4YFrH0X9J2kCkodhfGFeVUCQAXFkzIfRRui37Rjppjms7YfIvRNx4tJDmFHlFNTCWtplAKf7CGVQ/nsvyywjA+i+0vmaftUzoOdIcWnI8UEr9I=";
var rsaPublic = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
function setInfo(){
var notifyUrl = document.getElementById("notifyURL").value;
uexAliPay.setPayInfo(partner, seller, rsaPrivate, rsaPublic, notifyUrl);
}
function pay(){
setInfo();
var subject = document.getElementById("subject").value;
var body = document.getElementById("bodyy").value;
var fee = document.getElementById("fee").value;
var num = document.getElementById("num").value;
uexAliPay.pay(num, subject, body, fee);
}
function paySuccess(status, des){
document.getElementById('adre').innerHTML = des;
}
function payFailed(opCode, errorCode, des){
document.getElementById('adre').innerHTML = des;
}
window.uexOnload = function(){
uexAliPay.onStatus = paySuccess;
uexWidgetOne.cbError = payFailed;
}
支付接口测试:
订单信息:
标题:
简介:
总价:
编号:
商家信息:
回调地址:
支付结果: