Quick Start
This documentation is for the Magento 1.x version. For the Magento 2.x version, see here.
Requirements
Setup
To get started quickly, we're going to use dockerized-magento.
git clone https://github.com/andreaskoch/dockerized-magento
cd dockerized-magento
./magento start
Once dockerized-magento has completed setup, we need to disable Cash On Delivery payment method and set up Authorize.net.
- From Admin area, navigate to System -> Configuration -> Sales -> Payment Methods
- Click on Cash On Delivery Payment and set Enabled to No
- Click on Authorize.net (not Authorize.net Direct Post) and set the following fields:
- Enabled to Yes
- Payment Action to Authorize and Capture
- API Login ID to your Sandbox account API Login ID
- Merchant's Email to the email used for your Sandbox account
- Transaction Key to your Sandbox account Transaction Key
- Click Save Config
- If you have caching enabled, clear the config cache.
Once the payment gateway has been configured, we need to install Test Live Checkout.
After installing the extension, complete the following:
- From Admin area, navigate to System -> Configuration -> Nickolas Burr Extensions (sidebar) -> Test Live Checkout
- Under General Settings, set Enable Live Checkout Testing to Yes
- Generate random 32 character alphanumeric string and paste into Authentication Token field
- Click Save Config
After configuring the extension, complete the following:
-
Create a workspace directory:
mkdir testlivecheckout-puppeteer && cd testlivecheckout-puppeteer
-
Fetch a copy of the guest-checkout.js Puppeteer script:
curl -fsL -O https://docs.auroraextensions.com/magento/extensions/1.x/testlivecheckout/1.0.0/puppeteer/src/guest-checkout.js
-
Export the authentication token from earlier to your shell environment:
export TLC_AUTH_TOKEN="<AUTH_TOKEN_FROM_EARLIER>"
-
Run guest-checkout.js:
node guest-checkout.js
Once the script has finished running, you should have 10 PNG screenshots of the various stages of checkout.
To see an example of what to expect, see Guest Checkout.