What are the Buy Now buttons in Easy Digital Downloads

Buy Now Buttons

Any traditional eCommerce flow is designed for a customer to look for products through a site, adding items to a Cart.  Then the customer has to go to the Cart and then proceed to the payment.

A Buy Now button will allow you to skip most of this process. Taking the customer directly to the payment gateway speeds up the process of buying the product. 

Requirements

There are three requirements needed to be fulfilled for using Buy Now buttons. 

Note: If any of the requirements are not met, customers will be sent to the checkout page instead of Buy Now being used.

  1. Only 1 Payment gateway can be selected to use the Buy Now button. If multiple payment gateways are selected the Buy Now button will not work. 
  2. You can only use a Payment Gateway that supports the Buy Now button. Here is a list of gateways that support it.
  • Stripe
  • Paypal Standard
  • 2Checkout

3. Taxes must be disabled.

Configuration

If you are using one of the payment gateway listed above then the Buy Now Buttons will be available to you on the product pages in the admin area. 

To configure the button for any product follow the steps given below: 

  • Go to Downloads 
  • Then Open All Downloads 
  • Now select and edit the products you want to have a Buy Now button. 
  • In the right column, you will find a meta box named ‘Download Settings’. Look for a drop-down box offering the option of “Add To Cart” or “Buy Now”.  
  • Choose Buy Now and save the product.

Once you have configured a product for a Buy Now button, you will see the Buy Now button instead of the Add To Cart button. Here’s an example in the Vendd theme:

Shortcode

You can also place a Buy Now button manually by using a shortcode. Follow the steps given below to do so: 

  • Edit the product you want to have the Buy Now button. 
  • You will find a labeled Download Settings on the right. 
  • Right at the bottom of that box, you’ll find a shortcode. 
  • You need to change the text from “Add to Cart” to Buy Now (or anything else you’d like) and also add direct=”true” to the shortcode.

So your shortcode should look something like this:

[purchase_link id=”114″ text=”Buy Now” style=”button” color=”blue” direct=”true”]

Results

Once you have configured the Buy Now button Stripe, PayPal, 2Checkout, and Coinbase will immediately direct the customer to their payment pages.

Once the payment is done, the customer is presented with a receipt page with the download offered. 

Then the IPN passed from the payment gateway will pass on the customer’s email to the Payment Record. Which you can find in the Payment History. To go to payment history simply follow the steps given below. 

Dashboard → Downloads → Payment History. 

Notes:

Guest Checkout: 

The “Buy Now” buttons will allow users to purchase without being logged in even if you have the “Require Login” option checked in the EDD Checkout Settings under Dashboard → Downloads → Settings → Checkout Settings.

Recurring Payments: The Buy Now buttons are not supported by the  Recurring Payments plugin as of now.