# Glade VirtueMart3 Payment Plugin
This is a payment plugin for virtuemart3. It is built for integration with virtuemart3 stores set up on JOOMLA Content Management System (CMS).
Prerequisite
Shop owner has signed up with Glade as a Merchant at: https://dashboard.glade.ng/register (opens new window)
# Install
Glade VirtueMart3 Payment Plugin Payment Plugin for VirtueMart3
# Glade VirtueMart Payment Plugin
This is a payment plugin for virtuemart3. It is built for integration with virtuemart3 stores set up on JOOMLA Content Management System (CMS).
Prerequisite
Shop owner has signed up with Glade as a Merchant at: https://dashboard.glade.ng/register (opens new window)
# Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
# Download and install JOOMLA CMS on your system
Download and install VirtueMart3 as a plugin extension through the JOOMLA Admin Dashboard https://virtuemart.net/downloads (opens new window). Login to JOOMLA admin dashboard->Extensions->Manage->Install. Drag and drop the zipped installation folders There are three virtuemart3 mandatory files that must be installed in the following sequence: a. com_virtuemart.3.x.x.xxx.zip #virtuemart store installer.
com_virtuemart.3.x.x.xxx_ext_aio.zip #this installs all modules and required virtuemart3 plugins for your store -Setup sample store data for your store after 'b' and reset database values.
com_tcpdf_1.x.x.zip #free Open Source PHP class for generating PDF documents
# Download the VirtueMart plugin zipped folder from Download (opens new window)
# Install the zipped folder following the same steps as in step '2' above.
# Enable Glade as a payment gateway by: a. Go to VirtueMart Navigation Link b. Select 'Payment Methods' from the drop down c. Click 'Add New' Payment or the green '+' symbol to configure a new payment modules d. Name the payment method as 'Glade' e. Name the alias as 'Make Payment' f. Set 'Published' option to 'YES' g. Select 'VM Payment - Glade' as the payment method. h. Set 'Shopper Group' to 'Available for all' i. Set 'Currency' to 'Nigerian naira' j. Save and Close.
# Configuration settings 6. Select the newly created payment method under the 'Payment Methods' under VirtueMart a. Go to Configuration (just beside the 'Payment Method Information') b. Select Test Mode: YES (NB: You need to change this to 'NO' when going live) c. Use Merchant ID: GP0000001 and Merchant Key: 123456789 for test account settings. (NB: Use the Merchant Key and Merchant ID from your Glade merchant dashboard as your 'live' credentials) d. Save and Close.
# Enable VirtueMart3 7.
Go to Joomla admin dashboard and enable virtuemart
# Testing To run tests:
- Set up your local server
- Navigate to your Joomla folder through your browser and access your store.
- Run tests by carrying out your normal shopping activities.
- During checkout, select 'Glade' as your payment method, agree to VirtueMart terms of service and Confirm payment.
- Click 'Pay with Glade' and get redirected to our simple popup inline checkout modal.
- Make use of one of the available payment options (Card, Bank Account, USSD, QR Code Scan and Mobile money) and make payment.
- Invoice and Printable receipt is generated when customer gets redirected to VirtueMart
# Deployment
- Change configuration settings for the plugin on Joomla admin dashboard: Navigate to: VirtueMart->Payment Methods->Glade->Configuration. Set Test Mode to 'NO', provide Live Merchant Key and Merchant ID to the values gotten from Glade's merchant dashboard: https://dashboard.glade.ng (opens new window)
- Save and Close
# Built With
- VirtueMart3 payment plugin development tools -Configured on Joomla Admin Dashboard -Deployed on existing VirtueMart Store through Joomla admin dashboard