How to add few payment methods to django-oscar
I already add cash_on_delivery payment method to my project. But i want to add one more method. How i can do it. At this moment i have code of checkout views like this: class PaymentDetailsView(PaymentDetailsView): template_name = 'checkout/payment-details.html' template_name_preview = 'checkout/preview.html' def get_context_data(self, **kwargs): ctx = super(PaymentDetailsView, self).get_context_data(**kwargs) ctx['signature'] = gateway.hmac_gen(ctx) ctx['amount'] = '%s' % ctx['order_total'].incl_tax ctx['price'] = '%s' % ctx['basket'].lines.all()[0].price_incl_tax ctx['source'] = ctx return