OpenCart

Description

This extension allows customers to make purchases using WiPay’s payment gateway using credit cards and/or vouchers:

  • Credit card: When an order is placed, the user is redirected to Wipay’s secure hosted payment page where only the credit card information is entered.
  • Voucher: The customer can check the voucher then place an order using a Wipay voucher code.

Installation Steps

*These steps are for customers that already possess a OpenCart website on a server*

Step 1:  Download and upload the plugin folder on your OpenCart website server.

    1. Go to the Developer Support section on the Wipay site.
    2. Go to the WiPay Plugin Guide and Click on the desired plugin link.
    3. Upon downloding you will see the folder, wipay_opencart.ocmod.zip, downloaded.
    4. Upload the module file ‘wipay_opencart.ocmod.zip’ via Extensions > Extension Installer in the admin panel.

Step 2:  Activate the module:

    1. On the admin panel select Extensions > Extensions. Choose the extension type > Payments. Scroll down to “Wipay Credit” and “Wipay Voucher” then click “Install”.
    2. Click “Edit” and configure the module settings for Wipay Credit and Wipay Voucher. See the FAQ section for test payment and test order setup.

Step 3:  Edit the .htaccess file (necessary for Wipay Credit only):

    1. Ensure file extensions are shown in your FTP software. 
    2. In the opencart install directory, save the “.htaccess.txt” file as “.htaccess” (all file types).
    3. In the “.htaccess” file, look for the line “RewriteBase /”. In the next line insert:
RewriteRule wipay_credit/callback index.php?route=extension/payment/wipay_credit/callback [QSA]

Step 4:  If the base of your store is not TTD, setup your store to show TTD currency:

    1. In the admin panel, select Stores > Configuration > Currencies.
    2. Select “add new” and configure the module settings:
Currency Title: TT Dollar
Code: TTD
Symbol Left: $
Decimal PLaces: 2
Value: 6.80
Status: Enabled

Note: The merchant is responsible for changing the value of the exchange rate which is used to calculate the total to be paid in TTD. If the base store currency is TTD, this value is 1 by default.

Frequently Asked Questions (FAQs)

Question: How do I setup and perform a test payment and test order on Wipay Credit?

Solution:

  • On the admin panel, configure the module settings as follows:
Developer ID: 1
Merchant key: 123
Test Mode: Yes
Order Status on Success: Complete
Order Status on Failure: Canceled
Absorb Transaction Fee: Yes
Minimum Total: 10
Sort Order: 1
Geo Zone: All
Status: Enabled
  • On the WiPay credit card payment page, enter the test information as follows: (use any card number information below, any CVV and date in the future of your choosing to see different results)
  • Verify your purchase on the Sales > Orders page on the admin panel.

Note: To accept live payments, update the Developer ID, Merchant Key, and Test Mode fields accordingly.

 

Question: How do I setup and perform a test payment and test order on Wipay Voucher? 

Solution:

  • On the admin panel, configure the module settings as follows:
Developer ID: 4630
Test Mode: Yes
Order Status on Success: Complete
Order Status on Failure: Canceled
Minimum Total: 0.01
Sort Order: 2
Geo Zone: All
Status: Enabled
  • On the checkout page, enter the information as follows:

Voucher Code:

uyr8vmap230t
jxaqe48tfvbs
zmq8x0y29usv
xq62mu0s81jv
b4zytr8e37si
6v75kwyg3t0i
  • Verify your purchase on the Sales > Orders page on the admin panel.

Note: To accept live payments, update the Developer ID and Test Mode fields accordingly.