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

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

说明与用途

Python脚本轮询Stripe Payment Link的已完成会话,并通过电子邮件发送数字产品,消除对Webhook或第三方服务的需求。

问题

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