1 from django.urls import reverse
4 class PaymentMethod(object):
8 def get_payment_url(cls, schedule):
9 return reverse('club_dummy_payment', args=[schedule.key])
12 class PayU(PaymentMethod):
15 template_name = 'club/payment/payu.html'
18 def get_payment_url(cls, schedule):
19 return reverse('club_dummy_payment', args=[schedule.key])
22 class PayURe(PaymentMethod):
24 name = 'PayU Recurring'
25 template_name = 'club/payment/payu-re.html'
29 def get_payment_url(cls, schedule):
30 return reverse('club_dummy_payment', args=[schedule.key])
33 class PayPalRe(PaymentMethod):
35 name = 'PayPal Recurring'
36 template_name = 'club/payment/paypal-re.html'
40 def get_payment_url(cls, schedule):
41 return reverse('club_dummy_payment', args=[schedule.key])