Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6b5d66a0
authored
Aug 26, 2020
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http 替换成 https
parent
22fa4b63
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
510 deletions
footseen/phonepay/newAlipay.html
footseen/phonepay/payfor-new.html
footseen/phonepayCn/payfor-new.html
footseen/phonepay/newAlipay.html
View file @
6b5d66a0
...
...
@@ -298,176 +298,7 @@
}
})
// $(".login-btn").on("click", function () {
// if(btnOk==true){
// if(sessionStorage.pay=="PAYPALPAY") {
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"NAVITE",
// '
amount
':money*100,
// '
extend
':"0",
// },
// success: function (msg) {
// var data =JSON.parse(msg);
//// $.cookie('
oid
'
,
data
.
orderId
,{
expires
:
1
});
// sessionStorage.oid=data.orderId;
// key=data.payInfo.key;
// var html1=[];
// html1+="
<
div
style
=
' text-align: center;margin-top: 1.7rem;'
class
=
'paypalpay'
>
";
// html1+="
<
div
id
=
paypal
-
button
-
container
><
/div>"
;
// html1+="
<
/div>"
;
// $(".paypal").html(html1);
// paypal.Button.render({
//
// env: 'production', // sandbox | production
//
// // PayPal Client IDs - replace with your own
// // Create a PayPal app: https://developer.paypal.com/developer/applications/create
// client: {
// production:key,
//// production: '
<
insert
production
client
id
>
'
// },
// style: {
// color: '
gold
',
// size: '
large
',
// shape:'
rect
',
// locale:'
zh_US
',
//
// },
// // Show the buyer a '
Pay
Now
' button in the checkout flow
// commit: true,
//
// // payment() is called when the button is clicked
// payment: function(data, actions) {
//
//
//
// // Make a call to the REST api to create the payment
// return actions.payment.create({
// payment: {
// transactions: [
// {
// amount: { total: money, currency: '
USD
' },
// custom: sessionStorage.oid,
// }
// ]
// }
// });
// },
//
// // onAuthorize() is called when the buyer approves the payment
// onAuthorize: function(data, actions) {
//
// // Make a call to the REST api to execute the payment
// return actions.payment.execute().then(function() {
// setInterval(function () {
// window.location.href='
payend
.
html
';
// },100)
//
// });
// }
//
// }, '
#
paypal
-
button
-
container
');
// }
// })
// }
// else if(sessionStorage.pay=="ALIPAY"){
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"H5",
// '
amount
':money*100,
// '
extend
':"http://www.yabolive.tv/phonepay/payend.html",
// },
// success: function (msg) {
// console.log(msg);
// var data =JSON.parse(msg);
//// $.cookie('
oid
',data.orderId,{expires:1});
// sessionStorage.oid=data.orderId;
// var html=[];
// console.log(data);
// html+=data.payInfo.h5
// $(".alipay").html(html);
// }
// })
// }
// else if(sessionStorage.pay=="WECHATPAY"){
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"MWEB",
// '
amount
':money*100,
// '
extend
':"http://www.yabolive.tv/phonepay/payend.html",
// },
// success: function (msg) {
// var data = JSON.parse(msg);
//// $.cookie('
oid
',data.orderId,{expires:1});
// sessionStorage.oid=data.orderId;
// var url =data.payInfo.mweb_url;
// window.location.href=url;
// }
//
// })
// }
// else if(sessionStorage.pay=='
MOLPAY
'){
// $.ajax({
// url:"https://webserver.yabolive.net/pay/getPayPreid.html",
// type: "post",
// data: {
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// "uid": sessionStorage.uid,
// "product": "橙钻货币充值",
// "country": "86",
// "rid": rid,
// "lang": 2,
// "payType": sessionStorage.pay,
// "payTypeSub": "H5",
// "amount": money*100,
// "extend": "0",
// "returnUrl":"http://www.firefly.live/phonepay/payend.html",
// },
// success: function (msg) {
// var data=JSON.parse(msg);
// console.log(data);
// window.location.href=data.payInfo.url;
// }
// })
// }
// }else{
// layer.msg(langList[langType].select);
// }
//
// })
$(".payfor-ul").on("click", function () {
if(sessionStorage.pay=='
PAYPALPAY
'){
$(".paypal").html('
<
button
class
=
"login-btn"
>
下一步
<
/button>'
)
...
...
footseen/phonepay/payfor-new.html
View file @
6b5d66a0
...
...
@@ -296,176 +296,7 @@
}
})
// $(".login-btn").on("click", function () {
// if(btnOk==true){
// if(sessionStorage.pay=="PAYPALPAY") {
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"NAVITE",
// '
amount
':money*100,
// '
extend
':"0",
// },
// success: function (msg) {
// var data =JSON.parse(msg);
//// $.cookie('
oid
'
,
data
.
orderId
,{
expires
:
1
});
// sessionStorage.oid=data.orderId;
// key=data.payInfo.key;
// var html1=[];
// html1+="
<
div
style
=
' text-align: center;margin-top: 1.7rem;'
class
=
'paypalpay'
>
";
// html1+="
<
div
id
=
paypal
-
button
-
container
><
/div>"
;
// html1+="
<
/div>"
;
// $(".paypal").html(html1);
// paypal.Button.render({
//
// env: 'production', // sandbox | production
//
// // PayPal Client IDs - replace with your own
// // Create a PayPal app: https://developer.paypal.com/developer/applications/create
// client: {
// production:key,
//// production: '
<
insert
production
client
id
>
'
// },
// style: {
// color: '
gold
',
// size: '
large
',
// shape:'
rect
',
// locale:'
zh_US
',
//
// },
// // Show the buyer a '
Pay
Now
' button in the checkout flow
// commit: true,
//
// // payment() is called when the button is clicked
// payment: function(data, actions) {
//
//
//
// // Make a call to the REST api to create the payment
// return actions.payment.create({
// payment: {
// transactions: [
// {
// amount: { total: money, currency: '
USD
' },
// custom: sessionStorage.oid,
// }
// ]
// }
// });
// },
//
// // onAuthorize() is called when the buyer approves the payment
// onAuthorize: function(data, actions) {
//
// // Make a call to the REST api to execute the payment
// return actions.payment.execute().then(function() {
// setInterval(function () {
// window.location.href='
payend
.
html
';
// },100)
//
// });
// }
//
// }, '
#
paypal
-
button
-
container
');
// }
// })
// }
// else if(sessionStorage.pay=="ALIPAY"){
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"H5",
// '
amount
':money*100,
// '
extend
':"http://www.yabolive.tv/phonepay/payend.html",
// },
// success: function (msg) {
// console.log(msg);
// var data =JSON.parse(msg);
//// $.cookie('
oid
',data.orderId,{expires:1});
// sessionStorage.oid=data.orderId;
// var html=[];
// console.log(data);
// html+=data.payInfo.h5
// $(".alipay").html(html);
// }
// })
// }
// else if(sessionStorage.pay=="WECHATPAY"){
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"MWEB",
// '
amount
':money*100,
// '
extend
':"http://www.yabolive.tv/phonepay/payend.html",
// },
// success: function (msg) {
// var data = JSON.parse(msg);
//// $.cookie('
oid
',data.orderId,{expires:1});
// sessionStorage.oid=data.orderId;
// var url =data.payInfo.mweb_url;
// window.location.href=url;
// }
//
// })
// }
// else if(sessionStorage.pay=='
MOLPAY
'){
// $.ajax({
// url:"https://webserver.yabolive.net/pay/getPayPreid.html",
// type: "post",
// data: {
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// "uid": sessionStorage.uid,
// "product": "橙钻货币充值",
// "country": "86",
// "rid": rid,
// "lang": 2,
// "payType": sessionStorage.pay,
// "payTypeSub": "H5",
// "amount": money*100,
// "extend": "0",
// "returnUrl":"http://www.firefly.live/phonepay/payend.html",
// },
// success: function (msg) {
// var data=JSON.parse(msg);
// console.log(data);
// window.location.href=data.payInfo.url;
// }
// })
// }
// }else{
// layer.msg(langList[langType].select);
// }
//
// })
$(".payfor-ul").on("click", function () {
if(sessionStorage.pay=='
PAYPALPAY
'){
$(".paypal").html('
<
button
class
=
"login-btn"
>
下一步
<
/button>'
)
...
...
footseen/phonepayCn/payfor-new.html
View file @
6b5d66a0
...
...
@@ -299,176 +299,7 @@
}
})
// $(".login-btn").on("click", function () {
// if(btnOk==true){
// if(sessionStorage.pay=="PAYPALPAY") {
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"NAVITE",
// '
amount
':money*100,
// '
extend
':"0",
// },
// success: function (msg) {
// var data =JSON.parse(msg);
//// $.cookie('
oid
'
,
data
.
orderId
,{
expires
:
1
});
// sessionStorage.oid=data.orderId;
// key=data.payInfo.key;
// var html1=[];
// html1+="
<
div
style
=
' text-align: center;margin-top: 1.7rem;'
class
=
'paypalpay'
>
";
// html1+="
<
div
id
=
paypal
-
button
-
container
><
/div>"
;
// html1+="
<
/div>"
;
// $(".paypal").html(html1);
// paypal.Button.render({
//
// env: 'production', // sandbox | production
//
// // PayPal Client IDs - replace with your own
// // Create a PayPal app: https://developer.paypal.com/developer/applications/create
// client: {
// production:key,
//// production: '
<
insert
production
client
id
>
'
// },
// style: {
// color: '
gold
',
// size: '
large
',
// shape:'
rect
',
// locale:'
zh_US
',
//
// },
// // Show the buyer a '
Pay
Now
' button in the checkout flow
// commit: true,
//
// // payment() is called when the button is clicked
// payment: function(data, actions) {
//
//
//
// // Make a call to the REST api to create the payment
// return actions.payment.create({
// payment: {
// transactions: [
// {
// amount: { total: money, currency: '
USD
' },
// custom: sessionStorage.oid,
// }
// ]
// }
// });
// },
//
// // onAuthorize() is called when the buyer approves the payment
// onAuthorize: function(data, actions) {
//
// // Make a call to the REST api to execute the payment
// return actions.payment.execute().then(function() {
// setInterval(function () {
// window.location.href='
payend
.
html
';
// },100)
//
// });
// }
//
// }, '
#
paypal
-
button
-
container
');
// }
// })
// }
// else if(sessionStorage.pay=="ALIPAY"){
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"H5",
// '
amount
':money*100,
// '
extend
':"http://www.yabolive.tv/phonepay/payend.html",
// },
// success: function (msg) {
// console.log(msg);
// var data =JSON.parse(msg);
//// $.cookie('
oid
',data.orderId,{expires:1});
// sessionStorage.oid=data.orderId;
// var html=[];
// console.log(data);
// html+=data.payInfo.h5
// $(".alipay").html(html);
// }
// })
// }
// else if(sessionStorage.pay=="WECHATPAY"){
// $.ajax({
// url:$ip+"/pay/getPayPreid.html",
// type:"post",
// data:{
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// '
uid
':sessionStorage.uid,
// '
product
':"橙钻充值",
// '
country
':"86",
// '
rid
':rid,
// '
payType
':sessionStorage.pay,
// '
payTypeSub
':"MWEB",
// '
amount
':money*100,
// '
extend
':"http://www.yabolive.tv/phonepay/payend.html",
// },
// success: function (msg) {
// var data = JSON.parse(msg);
//// $.cookie('
oid
',data.orderId,{expires:1});
// sessionStorage.oid=data.orderId;
// var url =data.payInfo.mweb_url;
// window.location.href=url;
// }
//
// })
// }
// else if(sessionStorage.pay=='
MOLPAY
'){
// $.ajax({
// url:"https://webserver.yabolive.net/pay/getPayPreid.html",
// type: "post",
// data: {
// '
cid
':"web_gw",
// '
os
':"h5",
// lang:sessionStorage.lang,
// "uid": sessionStorage.uid,
// "product": "橙钻货币充值",
// "country": "86",
// "rid": rid,
// "lang": 2,
// "payType": sessionStorage.pay,
// "payTypeSub": "H5",
// "amount": money*100,
// "extend": "0",
// "returnUrl":"http://www.firefly.live/phonepay/payend.html",
// },
// success: function (msg) {
// var data=JSON.parse(msg);
// console.log(data);
// window.location.href=data.payInfo.url;
// }
// })
// }
// }else{
// layer.msg(langList[langType].select);
// }
//
// })
$(".payfor-ul").on("click", function () {
if(sessionStorage.pay=='
PAYPALPAY
'){
$(".paypal").html('
<
button
class
=
"login-btn"
>
下一步
<
/button>'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment