From aa5b2c82f0b7df18ec217d8b6aac32797b1a0184 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 1 Feb 2021 22:58:45 +0100 Subject: [PATCH] some comments --- rowers/fakturoid.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rowers/fakturoid.py b/rowers/fakturoid.py index cf4f8489..bcb50190 100644 --- a/rowers/fakturoid.py +++ b/rowers/fakturoid.py @@ -34,7 +34,7 @@ def get_contacts(rower): return None - +# this should be triggered on braintree payment def create_contact(rower): post_data = { "name": str(rower), @@ -58,8 +58,7 @@ def create_contact(rower): return res - - +# this should be triggered by a Braintree webhook def create_invoice(rower,amount,braintreeid,send=False): r_id = get_contacts(rower)