After a paid subscription is created and the Member row is flipped to active, fetches the newest paid transaction from Helcim and upserts a Payment row. Passes paymentType from the chosen cadence and sendConfirmation: true. Wrapped in try/catch: a logging failure here never breaks subscription creation — the reconcile-helcim-payments script will pick up any misses on the next run. |
||
|---|---|---|
| .. | ||
| api | ||
| config | ||
| helpers | ||
| middleware | ||
| models | ||
| tasks | ||
| utils | ||
| setup.js | ||