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

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

Описание и применение

Скрипт на Python автоматически проверяет завершенные платежи по Stripe Payment Link и отправляет цифровой товар по электронной почте, устраняя необходимость вебхуков и сторонних платформ.

Задача

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

Результат

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

Рабочий процесс

  • 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.

Доказательства

The core is one API call: ...

Источник

Everything above is in a single file called plinkpost.

Источник

  • Дата записи: 2026-09-22T06:45:50.565Z