How to Sell Digital Downloads with Stripe in WordPress

Stripe payment gateway is becoming very popular for selling digital downloads in WordPress. With instant signup and account configuration, Stripe provides the flexibility that every online merchant needs to accept credit card payment on their site. Whether it’s a tangible or digital item, your users will get the best experience while buying from your store. In this article, I will show you the easiest way to configure Stripe and sell downloads from your WordPress site.

Configuration for Selling Downloads in WordPress

1. First, you need to install and activate the Sell Media File plugin.

2. Upon activation you need to configure some Stripe related options in the plugin settings – “Sell Media File -> Settings”.

screenshot showing how to navigate to the setting menu of the sell media file WordPress plugin
screenshot showing the settings area of the sell media file WordPress plugin

3. Create a new page or edit one and insert the following shortcode.

[sell_media_file item_name="My Video" description="this is my video" amount="3.99" label="Buy Now" download_link=""]

This shortcode creates a Stripe payment button for your digital item.

When a user on your store clicks on the button, a window will pop up where they can enter their credit card and complete the payment.

screenshot of sell media file payment window

Stripe will now verify the purchase and redirect the user to a page where they will be able to download the item.

In the orders menu of the Sell Media File plugin, you will be able to see all the purchases made by your customers.

screenshot showing the orders menu in the sell media file plugin

You can also add various parameters in the shortcode to control what information will be collected from the user (e.g. billing, shipping). For details feel free to check the Sell Media File Documentation page.

4 thoughts on “How to Sell Digital Downloads with Stripe in WordPress”

  1. This is a great tutorial, a good way to get your feet wet is selling at dgoodz. Accounts are free and you can upload as many products as you like. We utilize PayPal but might add Stripe in the future.

    Peace and Love

  2. If you want to sell downloadable files from your website, give WP eStore plugin a try. I like it because it’s a complete system – site builder, shopping cart, and automated handling of delivering purchased files to the buyer.

    Once a visitor makes a purchase, he is automatically emailed a message with a link to instantly download the purchased file. I don’t have to do anything regarding sending out the purchased files.

  3. Hi Noor Alam,

    I was thinking if this process is suitable for other than virtual products?


Leave a Comment