credit card edit
This commit is contained in:
parent
ad581bbf40
commit
86777a4699
7 changed files with 432 additions and 36 deletions
|
|
@ -28,6 +28,7 @@ $( document ).ready(function() {
|
|||
|
||||
|
||||
var hasCreditcard = window.hasCreditcard;
|
||||
hasCreditcard= true;
|
||||
console.log("has creditcard");
|
||||
console.log("has creditcard");
|
||||
console.log("has creditcard");
|
||||
|
|
@ -40,9 +41,11 @@ $( document ).ready(function() {
|
|||
e.preventDefault();
|
||||
if (hasCreditcard) {
|
||||
$('#billing-form').submit();
|
||||
console.log("has creditcard2");
|
||||
}
|
||||
else {
|
||||
$('#payment-form').submit();
|
||||
console.log("has creditcard3");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue