diff --git a/digitalglarus/models.py b/digitalglarus/models.py
index 26ecb4ff..1cfd1c0b 100644
--- a/digitalglarus/models.py
+++ b/digitalglarus/models.py
@@ -65,6 +65,9 @@ class Membership(models.Model):
start_date = models.DateField()
end_date = models.DateField()
+ def __str__(self):
+ return str(self.id)
+
@classmethod
def get_current_membership(cls, user):
diff --git a/digitalglarus/templates/digitalglarus/booking_payment.html b/digitalglarus/templates/digitalglarus/booking_payment.html
index df9bfa69..adfb142e 100644
--- a/digitalglarus/templates/digitalglarus/booking_payment.html
+++ b/digitalglarus/templates/digitalglarus/booking_payment.html
@@ -70,7 +70,7 @@
- {% if credit_card_data %}
+ {% if credit_card_data.last4 and credit_card_data.cc_brand %}