[PR #204] [MERGED] Add enforcePayments feature to manage purchase requirements #213

Closed
opened 2026-02-27 04:59:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/guyzyl/whatsapp-contact-sync/pull/204
Author: @guyzyl
Created: 4/5/2025
Status: Merged
Merged: 4/5/2025
Merged by: @guyzyl

Base: mainHead: support-disabling-payments


📝 Commits (3)

  • 3be7877 Add enforcePayments feature to manage purchase requirements via ENFORCE_PAYMENTS env var
  • 608b29d Share value of payment enforcement across app via status updates
  • f76e2b2 Return the "Buy Me a Coffee" button, if payme t isn't required.

📊 Changes

8 files changed (+47 additions, -13 deletions)

View changed files

📝 interfaces/api.ts (+1 -0)
📝 server/main.ts (+5 -5)
📝 server/routes/api.ts (+6 -3)
📝 server/src/payments.ts (+3 -3)
📝 web/src/components/Footer.vue (+6 -2)
📝 web/src/main.ts (+4 -0)
📝 web/src/pages/Sync.vue (+15 -0)
web/src/settings.ts (+7 -0)

📄 Description

Set ENFORCE_PAYMENTS=true env var to force, anything else will disable it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/guyzyl/whatsapp-contact-sync/pull/204 **Author:** [@guyzyl](https://github.com/guyzyl) **Created:** 4/5/2025 **Status:** ✅ Merged **Merged:** 4/5/2025 **Merged by:** [@guyzyl](https://github.com/guyzyl) **Base:** `main` ← **Head:** `support-disabling-payments` --- ### 📝 Commits (3) - [`3be7877`](https://github.com/guyzyl/whatsapp-contact-sync/commit/3be7877c804a35598ec41d699211dfc7af4b5769) Add enforcePayments feature to manage purchase requirements via ENFORCE_PAYMENTS env var - [`608b29d`](https://github.com/guyzyl/whatsapp-contact-sync/commit/608b29dd73409eabfd568a53f1ad9d071473e116) Share value of payment enforcement across app via status updates - [`f76e2b2`](https://github.com/guyzyl/whatsapp-contact-sync/commit/f76e2b28d606977785475a34f8ac9bb66d18f210) Return the "Buy Me a Coffee" button, if payme t isn't required. ### 📊 Changes **8 files changed** (+47 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `interfaces/api.ts` (+1 -0) 📝 `server/main.ts` (+5 -5) 📝 `server/routes/api.ts` (+6 -3) 📝 `server/src/payments.ts` (+3 -3) 📝 `web/src/components/Footer.vue` (+6 -2) 📝 `web/src/main.ts` (+4 -0) 📝 `web/src/pages/Sync.vue` (+15 -0) ➕ `web/src/settings.ts` (+7 -0) </details> ### 📄 Description Set `ENFORCE_PAYMENTS=true` env var to force, anything else will disable it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 04:59:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-contact-sync#213
No description provided.