Pending display

This commit is contained in:
Raphael Michel
2019-09-18 19:27:32 +02:00
parent db71ec92be
commit c68f715e07
3 changed files with 22 additions and 1 deletions

View File

@@ -531,7 +531,7 @@ class PaymentStep(QuestionsViewMixin, CartMixin, TemplateFlowStep):
def post(self, request):
self.request = request
if request.POST.get("giftcard"):
if request.POST.get("giftcard") and request.POST.get("payment") == "giftcard":
# TODO: cross-organizer acceptance, …
try:
gc = GiftCard.objects.get(