diff --git a/digitalglarus/static/digitalglarus/js/payment.js b/digitalglarus/static/digitalglarus/js/payment.js
index d9c70f36..7e30a667 100644
--- a/digitalglarus/static/digitalglarus/js/payment.js
+++ b/digitalglarus/static/digitalglarus/js/payment.js
@@ -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");
}
diff --git a/digitalglarus/templates/digitalglarus/booking_payment.html b/digitalglarus/templates/digitalglarus/booking_payment.html
index bcbf88e4..24a840c3 100644
--- a/digitalglarus/templates/digitalglarus/booking_payment.html
+++ b/digitalglarus/templates/digitalglarus/booking_payment.html
@@ -70,7 +70,7 @@
- {% if credit_card_data.last4 and credit_card_data.cc_brand %}
+ {% if credit_card_data.last4 %}
+