This section outlines the steps to install the Afterpay plugin. As a pre-requisite ensure that Woo Commerce is installed and activated in the WordPress admin page.
If you are upgrading to a new version of the Afterpay Plugin, it is always a good practice to backup your existing plugin before you commence the installation steps.
Wordpress Installation Folder
woocommerce-gateway-afterpay├── checkout (folder)
├── css (folder)
├── images (folder)
├── js (folder)
├── woo-includes (folder)
└── woocommerce-afterpay.php
- Upload via FTP / SSH (For developers): Upload the plugin folder (not the ZIP) and files to your WordPress server. Copy the folder 'woocommerce-gateway-afterpay' folder into the path: [wordpress-installation-folder]/wp-content/plugins/
- Upload via Wordpress Admin: Upload the ZIP folder coming with the plugin codes to your WordPress Admin plugin uploader (Plugins - Add New - Upload ZIP file). It should deploy the plugin automatically.
- Open and login to the WordPress Admin page in your browser, navigate to the plugins page by clicking the 'Plugins' item in the menu on the left side of the screen.
- Find the plugin 'WooCommerce Afterpay Gateway' in the plugins list, click 'Activate' link below the plugin name.
- Navigate to 'WooCommerce' > 'Settings' page; select the 'Checkout' tab on the top.
- Scroll down to the 'Gateway Display Order' section, find 'Afterpay' in the gateway list, and click 'Settings' to open the afterpay woocommerce plugin settings page.
- Tick the first checkbox to 'Enable Afterpay'.
- The 'Test mode' is selected by default. This affects the actual afterpay api url addresses that the plugin will talk to.
- Enter the merchant id and secret key that Afterpay has provided you for teh selected Mode.