2021-04-18 14:46:57 +00:00
|
|
|
from django.views.generic import DetailView
|
|
|
|
from django.shortcuts import get_object_or_404
|
|
|
|
|
2021-06-10 11:18:52 +00:00
|
|
|
from .models.invoicepayment import InvoicePayment
|
2021-04-18 14:46:57 +00:00
|
|
|
|
|
|
|
class PaymentStatusView(DetailView):
|
|
|
|
model = InvoicePayment
|
|
|
|
template_name = "payment/status.html"
|
|
|
|
|
|
|
|
def get_object(self):
|
|
|
|
return get_object_or_404(InvoicePayment, uuid=self.kwargs["uuid"])
|