+
+
+class PayUPayment(payu_views.Payment):
+ pass
+
+
+class PayURecPayment(payu_views.RecPayment):
+ form_class = PayUCardTokenForm
+
+ def get_schedule(self):
+ return get_object_or_404(models.Schedule, key=self.kwargs['key'])
+
+ def get_pos(self):
+ pos_id = payure_method.pos_id
+ return POSS[pos_id]
+
+ def get_success_url(self):
+ return self.get_schedule().pay(self.request)
+
+
+class PayUNotifyView(payu_views.NotifyView):
+ order_model = models.PayUOrder
+