Express inline checkout
Do not get confused express inline checkout is not a feature offered by 2Checkout. However, our plugin offers 2Checkout inline hosted cart checkout experience in an express way. In another word, it also can be called as EDD purchase button on click inline checkout.
This is how it works…
When you enable express checkout from plugin setting page, customers will get 2Checkout inline hosted cart popup when they click EDD add to cart purchase button. Above was the video demonstration of the express checkout.
User registration & order complete
We know you are curious to know how do we create your customer account & complete order while express checkout is activated. Here is a brief explanation of a work flow.
User registration: When customer purchase product via express checkout, our plugin handles user registration automatically once we receive 2Checkout INS response via webhook URL. Please be advised that you don’t need to install any additional plugin ie. (EDD auto register) for this functionality. Below are the details that customers will receive in their email address once user registration is done.
- An email to verify account
- New user login details
Order Confirmation: Our plugin automatically complete order in EDD once we do user registration after receiving payment confirmation via 2Checkout webhook URL. Below are the details that customers will receive in their email address once the order is completed in EDD end.
- Order confirmation message which includes orders details like product download link & licence key according to email template defined in EDD downloads > settings > emails > purchase receipt.
- A payment confirmation email from 2Checkout.
In total customers will get 4 emails from your store.
FYI: Please be advised that we haven’t made any customization when it comes to email templates. We are using default WordPress user registration email template, so on for EDD purchase confirmation, we are using default EDD purchase confirmation email template.
Tax
Tax can be set from Downloads > Taxes in Easy Digital Downloads plugin. Tax is auto calculated by our plugin and proper report is shown in Easy Digital Downloads > Payment History.
Custom Add to Cart links
Our plugin also supports custom “add to cart” links. It is very simple to create custom add to cart link.
Default custom “add to cart” link for Easy Digital Downloads looks like this:
<a href="http://example.com/?edd_action=add_to_cart&download_id=11">Example Link</a>
You just need to add “express-checkout” class to that anchor tag and you are done. If you are using “Recurring Payments” plugin then you will also need to add “price_id=CORRECT_PRICE_ID” into the end of the href attributes.
For Non-recurring:
<a href="http://example.com/?edd_action=add_to_cart&download_id=11" class="express-checkout" >Exapmple purchase button</a>
For Recurring:
<a href="http://example.com/?edd_action=add_to_cart&download_id=11&price_id=1" class="express-checkout">Example purchase button</a>