payments views passing tests
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user