How to Sell Digital Downloads with Stripe in WordPress

Last updated on by admin


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="https://example.com/wp-content/uploads/videos/my-video.mp4"]

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.

special SiteGround WordPress hostingspecial Bluehost WordPress hosting

1 thought 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

Leave a Reply

Your email address will not be published. Required fields are marked *