Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Your Stripe Payment Link doesn't deliver anything. Here are the 40 lines that do.

Description and use

A Python script polls Stripe for completed Payment Link sessions and emails the digital product, removing the need for webhooks or third‑party services.

Problem

Stripe Payment Links only send a receipt; delivering a digital product requires additional steps, often involving costly platforms, webhooks, or automation subscriptions.

Outcome

The script delivers digital products via email after polling Stripe, avoiding webhooks, platform fees, and server maintenance.

Workflow

  • 1. Store Stripe API key, payment link ID, file path, and SMTP credentials in a config file.
  • 2. Run plinkpost check to validate key, link, file, and SMTP login.
  • 3. Execute plinkpost list to view paid sessions and delivery status.
  • 4. Run plinkpost once to deliver all unpaid sessions immediately.
  • 5. Use plinkpost watch to poll every POLL_SECONDS and auto‑deliver new purchases.
  • 6. Optionally use --dry-run to simulate without sending emails.
  • 7. Monitor logs; buyer emails are masked to protect privacy.

Evidence

The core is one API call: ...

Source

Everything above is in a single file called plinkpost.

Source

  • Record date: 2026-09-22T06:45:50.565Z