Title: Hellion Shortcode Digital Sales
Author: Hellion
Published: <strong>2026 年 8 月 19 日</strong>
Last modified: 2026 年 8 月 20 日

---

搜索插件

![](https://ps.w.org/hellion-shortcode-digital-sales/assets/banner-772x250.png?rev
=3655012)

![](https://ps.w.org/hellion-shortcode-digital-sales/assets/icon-256x256.png?rev
=3655005)

# Hellion Shortcode Digital Sales

 作者：[Hellion](https://profiles.wordpress.org/hellion35/)

[下载](https://downloads.wordpress.org/plugin/hellion-shortcode-digital-sales.0.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/hellion-shortcode-digital-sales/#description)
 * [评价](https://cn.wordpress.org/plugins/hellion-shortcode-digital-sales/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hellion-shortcode-digital-sales/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hellion-shortcode-digital-sales/#developers)

 [支持](https://wordpress.org/support/plugin/hellion-shortcode-digital-sales/)

## 描述

Hellion Shortcode Digital Sales is a lightweight way to sell a digital product (
an ebook, a template, a license file, anything downloadable) without setting up 
a full store. Add a product, paste a shortcode on any existing page or post, and
customers can buy without ever leaving that page or going through a cart.

**Core scenario, no paid add-on required:**

 1. Create a product (price, one file, optional custom checkout fields).
 2. Add `[hellion_product id="123"]` to any page or post — inline or as a popup.
 3. Customer pays with Stripe or PayPal, right there on the page.
 4. They land on a protected, time-/count-limited download link and get the same link
    by email. You get an email too.

#### Features

 * Shortcode-based checkout, inline or popup, no page builder or block editor lock-
   in
 * Stripe and PayPal, called directly (no bundled SDK, so it won’t clash with other
   plugins that also bundle payment SDKs)
 * Protected file delivery: download links are token-based, not a public URL, with
   a configurable download-count and expiry limit per order
 * Custom checkout fields (text / email / textarea / checkbox / select), configurable
   globally or per product
 * Editable email templates (WYSIWYG) with placeholder tags for customer name, product,
   download link, order details, and more
 * Orders screen with search, status filter, manual status/limit changes, and per-
   order details
 * Sales analytics (revenue, orders, downloads) with day/week/month presets and 
   a custom date range with period-over-period comparison
 * Built to be extended: a documented set of actions/filters lets add-ons hook in
   without touching core files, and third-party add-ons don’t need to modify this
   plugin’s code or database tables

#### What this plugin does not include

Coupons, multiple file versions per product, subscriptions/recurring billing, multi-
currency, VAT/tax reporting, license-key delivery, abandoned-cart recovery, and 
additional payment gateways are out of scope for this free plugin — the plugin registers
real extension points for these, so they can be added by add-ons without forking
core.

### External services

This plugin connects to third-party services to process payments and, only if you
configure it, verify payment webhooks. No data is sent to these services unless 
you enable the corresponding gateway in Settings  Payments.

 * **Stripe** — when Stripe is enabled and a customer checks out with it, the order
   amount, currency, and an internal order ID are sent to Stripe’s API (`api.stripe.
   com`) to create a Payment Intent, and the customer’s payment details are collected
   by Stripe’s own embedded Payment Element (your site never sees card numbers).
   Stripe’s webhook calls back to this site to confirm payment. See [Stripe’s Privacy Policy](https://stripe.com/privacy)
   and [Terms of Service](https://stripe.com/legal).
 * **PayPal** — when PayPal is enabled, the same order data is sent to PayPal’s 
   API (`api-m.paypal.com` or the sandbox equivalent) to create and capture an order,
   and the PayPal JS SDK is loaded from `paypal.com` to render the payment buttons.
   See [PayPal’s Privacy Policy](https://www.paypal.com/privacy) and [Legal Agreements](https://www.paypal.com/legalhub).

Loading Stripe.js and the PayPal SDK from the providers’ own domains is a requirement
of both providers (self-hosting these scripts is against their terms and unsupported)
and is unrelated to any tracking by this plugin itself.

### Third-party libraries

 * **Chart.js** (used for the Analytics chart) — MIT License. Bundled locally with
   this plugin (`includes/Admin/assets/vendor/chart.umd.js`); not loaded from a 
   CDN.

## 屏幕截图

[⌊Product edit screen with price, file, and checkout field settings.⌉⌊Product edit
screen with price, file, and checkout field settings.⌉[

Product edit screen with price, file, and checkout field settings.

[⌊Inline checkout form on a page.⌉⌊Inline checkout form on a page.⌉[

Inline checkout form on a page.

[⌊Orders screen with an order's details, status, and limit/expiry actions.⌉⌊Orders
screen with an order's details, status, and limit/expiry actions.⌉[

Orders screen with an order’s details, status, and limit/expiry actions.

[⌊Sales analytics with a custom date range comparison.⌉⌊Sales analytics with a custom
date range comparison.⌉[

Sales analytics with a custom date range comparison.

[⌊Popup checkout form.⌉⌊Popup checkout form.⌉[

Popup checkout form.

[⌊Sales analytics, 30-day view.⌉⌊Sales analytics, 30-day view.⌉[

Sales analytics, 30-day view.

[⌊Payment gateway settings.⌉⌊Payment gateway settings.⌉[

Payment gateway settings.

## 安装

 1. Upload the plugin files to `/wp-content/plugins/hellion-shortcode-digital-sales`,
    or install through the Plugins screen in WordPress directly.
 2. Activate the plugin through the “Plugins” screen.
 3. Go to **Hellion Shortcode Digital Sales  Settings** and set your currency and at
    least one payment gateway (Stripe and/or PayPal).
 4. Go to **Hellion Shortcode Digital Sales  Products** and add a product with a price
    and a file.
 5. Copy the shortcode shown on the product and paste it into any page or post.

If your server runs Nginx rather than Apache, the plugin’s automatic `.htaccess`
protection for uploaded product files does not apply — add a rule to your server
config to deny direct access to `wp-content/uploads/hellion-shortcode-digital-sales-
files/`, for example:

    ```
    location /wp-content/uploads/hellion-shortcode-digital-sales-files/ { deny all; }
    ```

## 常见问题

### Do I need WooCommerce or another e-commerce plugin?

No. Hellion Shortcode Digital Sales is a standalone checkout for a single product
per shortcode — no cart, no separate store pages.

### Can I sell more than one file per product, or offer subscriptions/coupons?

Not in this version. The plugin is built so these can be added by add-ons without
modifying this plugin’s core files or database tables.

### Where are uploaded files stored, and are they public?

Files are stored in `wp-content/uploads/hellion-shortcode-digital-sales-files/` 
and are blocked from direct access (via `.htaccess` on Apache; see the Installation
section for Nginx). Customers only ever get a token-based download link, never the
file’s real path.

### What happens if a download link expires or reaches its limit?

The customer sees a clear message explaining why, not a generic error. An admin 
can manually extend the limit or expiry for a specific order from the Orders screen.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Hellion Shortcode Digital Sales」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Hellion ](https://profiles.wordpress.org/hellion35/)

「Hellion Shortcode Digital Sales」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/hellion-shortcode-digital-sales/contributors)
为本插件所做的贡献。

[帮助将「Hellion Shortcode Digital Sales」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hellion-shortcode-digital-sales)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hellion-shortcode-digital-sales/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/hellion-shortcode-digital-sales/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/hellion-shortcode-digital-sales/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hellion-shortcode-digital-sales/)。

## 更新日志

#### 0.1.3

 * Fix: browsers could offer to autofill a saved or generated password into the 
   Stripe/PayPal secret key fields, silently overwriting the key you entered.

#### 0.1.2

 * Fix: checkout field labels with non-Latin characters (e.g. Cyrillic) were saved
   incorrectly.

#### 0.1.1

 * Fix: the product edit screen’s file upload never worked — the form was missing
   the `multipart/form-data` encoding required for file uploads, so the selected
   file never reached the server. Product files now upload correctly.
 * Fix: the shortcode for a product was never actually shown anywhere, despite the
   Installation instructions telling you to copy it. It now appears on the product
   edit screen once the product is published.
 * If a product file upload does fail (oversized file, server permissions, etc.),
   an admin notice now explains why instead of failing silently.

#### 0.1.0

 * Initial release.

## 额外信息

 *  版本 **0.1.3**
 *  最后更新：**2 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 7.0 或更高版本 **
 *  已测试的最高版本为 **7.0.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/hellion-shortcode-digital-sales/)
   和 [Russian](https://ru.wordpress.org/plugins/hellion-shortcode-digital-sales/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/hellion-shortcode-digital-sales)
 * 标签
 * [digital downloads](https://cn.wordpress.org/plugins/tags/digital-downloads/)
   [paypal](https://cn.wordpress.org/plugins/tags/paypal/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
   [stripe](https://cn.wordpress.org/plugins/tags/stripe/)
 *  [高级视图](https://cn.wordpress.org/plugins/hellion-shortcode-digital-sales/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/hellion-shortcode-digital-sales/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/hellion-shortcode-digital-sales/reviews/)

## 贡献者

 *   [ Hellion ](https://profiles.wordpress.org/hellion35/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hellion-shortcode-digital-sales/)