Changeset - a162559a05f5
[Not reviewed]
0 1 0
Sachi King - 7 years ago 2017-04-22 09:06:47
nakato@nakato.io
NotImplmented refund

We don't actually do it. Ban it for now.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
registripe/views.py
Show inline comments
...
 
@@ -167,12 +167,13 @@ def refund(request, credit_note_id):
 
    return render(
 
        request, "registrasion/stripe/refund.html", data
 
    )
 

	
 

	
 
def process_refund(cn, form):
 
    raise NotImplementedError("Does not actually refund a user")
 
    payment = form.cleaned_data["payment"]
 
    charge = payment.charge
 

	
 
    to_refund = cn.credit_note.value
 
    stripe_charge_id = charge.stripe_charge.id
 

	
0 comments (0 inline, 0 general)