Buy Now Buttons
A traditional eCommerce flow is for a customer to shop through a site, adding items to a Cart. Then the customer views the Cart and then proceeds to the checkout area.
A Buy Now button by-passes most of that process, taking the customer directly from button click to payment, greatly speeding up the process of getting the product.
There are three requirements for using Buy Now buttons.
Note: If any of the requires are not met, customers will be sent to the checkout page instead of Buy Now being used.
1. You can only have one gateway selected under Payment Gateways. If more than one gateway is selected, the Buy Now button will not work.
2. You must use a payment gateway that supports it. These are the payment gateways that support it:
- Paypal Standard
3. Taxes must be disabled.
If you're using one of the above payment gateways then Buy Now buttons will be available to you on product pages in the admin area. Go to Downloads → All Downloads and edit the Download that you'd like to have a Buy Now button. In the right column you'll find a meta box called Download Settings. In that meta box is a drop down offering the option of "Add To Cart" or "Buy Now". Choose Buy Now and save the product.
Once the product is configured for a Buy Now button, the button will appear where Add To Cart would have previously. Here's an example in the Vendd theme:
You may also manually place a Buy Now button with a shortcode. Edit the product you wish to make a button for and find the meta box labelled Download Settings. In the bottom of that box you'll find a shortcode. You'll need to get 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"]
Stripe, PayPal, 2Checkout, and Coinbase immediately direct the customer to their payment pages. Once submitted the customer is immediately presented with a receipt page with the download offered.
The IPN passed back from the payment gateway will pass the customer's email address to the Payment Record which gets generated under Dashboard → Downloads → Payment History.
Guest Checkout: Using "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: at this time Buy Now buttons are not supported by the Recurring Payments plugin.