In the Case 1 (free→paid) branch of update-contribution, after the subscription is created and the member row is updated, fetch the newest paid Helcim transaction and upsert a Payment with paymentType=cadence and sendConfirmation=true. Paid→paid (Case 3) is intentionally NOT wired — no new transaction occurs at amount change; the next recurring charge is captured by the reconciliation script. |
||
|---|---|---|
| .. | ||
| [id] | ||
| me | ||
| [id].get.js | ||
| cancel-subscription.post.js | ||
| create.post.js | ||
| directory.get.js | ||
| my-calendar.get.js | ||
| my-events.get.js | ||
| profile.patch.js | ||
| update-circle.post.js | ||
| update-contribution.post.js | ||
| update-email.post.js | ||