Skip to content

Zen Cart

| View as Markdown

This guide is for the integration of ZenCart (shopping cart) backend with airpay for accepting payments. Download the ZenCart Kit and follow the installation steps. If the steps are correctly followed, the installation will be successful.

Zen Cart Installation steps:

step 1: Fill up airpay integration formation form.
step 2: You need to provide your Domain URL an Success URL (index.php?route=common/response) to airpay operations team.

Adding plugin files to your zencart installation:

step 1: Copy the airpayChecksum and airpay_version.txt from includes/modules/payment(from plugin) to includes/modules/payment(zencart installation).
step 2: Copy the paywithairpay.php file from includes/modules/payment(from plugin) to includes/modules/payment(zencart installation).
step 3: Copy the airpaylib folder from includes/modules/payment(from plugin) to includes/modules/payment(zencart installation).
This folder has the following files:
• airpayConstants.php
• AirpayHelper.php
step 4: Copy the paywithairpay(language file) from includes/languages/english/modules/payment (from plugin) to includes/languages/english/modules/payment(zencart installation).
step 5: Copy the header_php.php file from includes/modules/pages/checkout_success(from plugin) to includes/modules/pages/checkout_success(zencart installation).

Steps:

step 1: Log into your Zencart store using the admin credentials.
step 2: On the main menu bar, go to Modules > Payment. The Payment Modules page outlines the list of integrated plugins and the plugin available for integration.
step 3: In case of a new airpay payment plugin, click ► next to the PayWithAirpay module under the Action column.
step 4: Click the + Install Module button.
step 5: Enable airpay Order Module - Select either True or False to accept airpay Order Payments.
step 6: Click the Update button to update details.