Skip to main content

Payments and email

Payments

PlexSub can reflect subscription and payment states from configured providers. The provider remains the legal and accounting source of truth; verify its data before cancelling access or making a financial decision.

What to decide first

  • Which provider is authoritative for payment state.
  • Which subscription states grant or remove access.
  • How pending, failed, refunded, or cancelled payments are handled.
  • Which portal information customers can see.

Payment variables

Keep payment-provider credentials and webhook secrets in protected configuration. Do not publish them in .env examples, screenshots, tickets, or logs.

SMTP email

Email can be used for invitations, notices, support, and account communication. Configure the SMTP host, port, sender identity, authentication, and TLS mode required by your provider.

  1. Configure a sender address that users recognise.
  2. Test delivery to an external mailbox.
  3. Verify spam and SPF/DKIM/DMARC configuration at the domain level.
  4. Keep message wording clear and avoid technical provider errors.
  5. Do not include passwords, tokens, or private data in emails.

Troubleshooting

SymptomLikely causeResolution
Email is not sentSMTP credentials or host incorrectCheck provider settings and application logs.
Messages arrive as spamSender domain is not authenticatedConfigure SPF, DKIM, and DMARC.
Payment status is unexpectedWebhook or provider mapping issueCheck the provider, webhook secret, and diagnostics.
Customer has incorrect accessSubscription rules are unclearDefine which payment state is authoritative, then test with a safe account.