commit 2e05c96a07d702afa9dab1cf3340c35c93b4bf53 parent a50091f935e1eddea55955e6f02fd2825284d0e1 Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 18 Oct 2025 21:45:47 +0200 update README.md: new TODOs Diffstat:
| M | README.md | | | 12 | ++++-------- |
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md @@ -46,14 +46,9 @@ Navigate to `/admin/config/content/Turnstile` to configure: ## TODO -- REFACTOR: move HTTP logic from TurnstileSettingsForm to the API class! -- actually get subscriptions to work: - * use new subscription prices( \Drupal::config('turnstile.settings')[$subscription_id][$currency_code] ) - * empty means no choice to buy this subscription in this currency! - * when adding choice to buy subscription, need to ADD price of subscription + price of article with that subscription - for the purchase price! - * update session state to remember in session which subscriptions user proved to us and when they expire - * *if* user is about to buy an article for which under a non-expired subscription we have a price of 0, then skip payment +- actually get subscriptions to work -- test new logic! +- split settings dialog (main settings vs. subscription prices) +- REFACTOR: move HTTP logic from TurnstileSettingsForm to the API class?? - LATER: use order expiration from merchant backend (with new v1.1 implementation) instead of hard-coding 1 day! @@ -80,6 +75,7 @@ turnstile/ │ ├── Form/ │ │ ├── PriceCategoryForm.php - Add/edit form handler │ │ ├── PriceCategoryDeleteForm.php - Delete confirmation form +│ │ ├── SubscriptionPricesForm.php - Configure subscription prices │ │ └── TurnstileSettingsForm.php │ ├── PriceCategoryListBuilder.php - Admin list page builder │ ├── TalerMerchantApiService.php - API service for merchant backend interaction