Private
Public Access
1
0

payments views passing tests

This commit is contained in:
Sander Roosendaal
2019-01-16 12:36:23 +01:00
parent f22cd18916
commit 195d623cfc
7 changed files with 223 additions and 43 deletions

View File

@@ -118,7 +118,7 @@ def make_payment(rower,data):
job = myqueue(queuehigh,handle_send_email_transaction,
name, rower.user.email, amount)
return amount
return amount,''
else:
return 0,''
@@ -415,12 +415,4 @@ def get_transactions(start_date,end_date):
def mocktest(rower):
nonce_from_the_client = 'aap'
result = gateway.payment_method.create({
"customer_id": rower.customer_id,
"payment_method_nonce": nonce_from_the_client
})
return result.subscription.id
return '5'