Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Sell Media File with Stripe


Sell Media plugin allows you to sell media or download with Stripe. You can add shortcode anywhere on your site to create pay button. When a user clicks on the payment button, a window pops up where they can enter their credit card information to purchase your product. Digital downloads become available instantly upon completion of the payment.


  • Sell PDF files online (e-book, epub etc)
  • Sell videos online (MP4, WebM, Ogv, FLV etc)
  • Sell audio files, mp3, podcasts or songs
  • Sell photos, photo prints or digital photos
  • Sell any digital downloads with this easy digital downloads plugin
  • Accept credit card payments from your users with a few clicks
  • Responsive payment form which looks great on mobile and tablet devices
  • Sell products, services, media files or downloads using Stripe payment gateway
  • Create payment buttons on the fly using shortcodes
  • Accept once off payments or donations from users with Stripe checkout
  • Allow users to checkout without ever leaving your site
  • View or Manage orders received from your WordPrss admin dashboard
  • Quick settings configurations
  • Enable debug to troubleshoot various issues (e.g. orders not getting updated)
  • Sell items with different pricing options
  • Switch your store to Stripe sandbox mode for testing
  • Compatible with the latest version of WordPress
  • Compatible with any WordPress theme
  • Sell in any currency supported by Stripe

Plugin Setup

After you have activated the plugin, you need to configure some settings related to your Stripe merchant account. It’s located under “Sell Media File -> Settings”.

  • Stripe Test Secret Key
  • Stripe Test Publishable Key
  • Stripe Live Secret Key
  • Stripe Live Publishable Key
  • Currency Code

In order to create a Buy button you can add the following shortcode to a post/page:

[sell_media_file item_name="My video" description="My cool video" amount="2.00" label="Buy Now" download_link="https://example.com/wp-content/uploads/videos/my-cool-video.mp4"]

Button Parameters

You can add additional parameters in the shortcode to customize your payment buttons.

  • name – The name of your company or website.
  • image – A URL pointing to a square image of your brand or product(128x128px recommended). The recommended image types are .gif, .jpeg, and .png.
  • locale– Specify auto to display Checkout in the user’s preferred language, if available. English will be used by default.
  • currency – The currency of the item (e.g. currency=”USD”). If not specified it will take it from the settings.
  • billingAddress – Specify whether Checkout should collect the user’s billing address (e.g. billingAddress=”true”). The default is false.
  • shippingAddress – Specify whether Checkout should collect the user’s shipping address (e.g. shippingAddress=”true”). The default is false.
  • panelLabel – The label of the payment button in the Checkout form (e.g. panelLabel=”Pay $2.00″). Checkout does not translate custom labels to the user’s preferred language.

For setup instructions please visit the Sell Media plugin page.

Recommended Reading



  1. Go to the Add New plugins screen in your WordPress Dashboard
  2. Click the upload tab
  3. Browse for the plugin file (sell-media-file.zip) on your computer
  4. Click “Install Now” and then hit the activate button


Can this plugin be used to sell media files?


Can this plugin be used to sell videos?


Can this plugin be used to sell music?



31 janvāris, 2020 1 atbilde
To Jennifer Moss Your problem is not a problem. I can’t give you his web address, but google “Woocommerce: How to Protect Your Digital Downloads” by WPTuts. This simple solution will work whether you are using Woocommerce or not. Note to site: I just tried to import this into my wordpress/elementor site and it snarled the header bar instantly. The support team at my host site cleaned it up and advised me to tell you: If you clone the add elementor (activity button) method used by “Download Button for Elementor” (which is a customized widget for Elementor Page Builder) my problem would not have happened –they think. I think since so many developers are now using Elementor this would gather support for your own plugin.
30 janvāris, 2018
This works in the sense that it allows you to pay by STRIPE and gives buyer a download link. HOWEVER the LINK itself is not protected. So once user has the link he/she can share it with anybody. ANYONE who has the link can download the file for free. So this is basically useless.
Lasīt 5 atsauksmes

Autori un izstrādātāji

“Sell Media File with Stripe” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.


“Sell Media File with Stripe” ir tulkots lokalizācijās 5. Paldies tulkotājiem par ieguldījumu.

Tulkot “Sell Media File with Stripe&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls


  • Fixed a bug where queries could be performed on orders on the front end.
  • Sell Media orders are now also excluded from search.


  • Sell Media plugin can now be used to track affiliate commission through the Affiliates Manager plugin.


  • Changed the “price” parameter to “amount” in the shortcode.


  • Sell Media File plugin has been redesigned. It now accepts payments via Stripe.


  • Sell Media File is now compatible with WordPress 4.3


  • First commit