GithubHelp home page GithubHelp logo

ksmaheshkumar / opencart_kyash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gubbi/opencart_kyash

0.0 0.0 0.0 201 KB

Opencart Integration Kit for the Kyash Payment Gateway.

Home Page: http://www.kyash.com/

PHP 72.47% Smarty 24.51% JavaScript 1.18% CSS 1.85%

opencart_kyash's Introduction

Opencart Integration Kit for the Kyash Payment Gateway. This extension is OCMod based, hence your core files are not directly modified.

Installation

  1. Login to Opencart Admin.
  2. Go to Extensions->Extension Installer.
  3. Upload the opencart_kyash.ocmod.zip file.
  4. Go to Extensions->Modifications.
  5. Hit Refresh on the top right corner.
  6. Go to Extensions->Payments.
  7. You should see Kyash as one of the options there.
  8. Click Install.

Configuration

  1. Login to your Kyash Account.
  2. Go to Settings.
  3. Login to your Opencart Admin.
  4. Go to Extensions->Payments.
  5. Click Edit.
  6. Enter the credentials listed on your Kyash Account Settings. There are two types of credentials you can enter:
    • To test the system, use the Developer credentials.
    • To make the system live and accept your customer payments use the Production credentials.
  7. Copy the Callback URL listed in Opencart Settings and set it in your Kyash Account settings.

Testing the Integration.

  1. Place an order in your Opencart store.
  2. Pick Kyash - Pay at a nearby shop as the payment option.
  3. Note down the KyashCode generated for this order.
  4. In a live system, the customer will take this KyashCode to a nearby shop and make the payment using cash.
  5. But since we are testing, Login to your Kyash Account.
  6. Enter the KyashCode in the search box.
  7. You should see a Mark as Paid button there.
  8. Clicking this should change the order status from pending to processing in your Opencart order details page.

Troubleshooting

FTP errors while installing the extension.

If you are facing any FTP related errors while uploading and installing this extension, follow the below steps.

  1. Temporarily disable FTP in your Store Settings.
  2. Install this extension.
  3. Refresh the Extension Modifications.
  4. Now proceed towards installing the Kyash extension.

Paid and Expired KyashCodes are not being marked as such in Opencart.

Once you have successfully installed Kyash extension, if your orders are not being marked as paid after payment is done, then follow the below steps.

  • Configure the Kyash Extension using your Kyash Development API Credentials.
  • Create a test order with Kyash as the payment option.
  • Note down the KyashCode returned.
  • Login to your Kyash account and search for the KyashCode.
  • Mark it as Paid.
  • Check if the order status changes from "pending" to "processing" in opencart.
  • If the status has not changed, then make the following entry in your .htaccess file just after the RewriteEngine On entry.
RewriteCond %{HTTP:Authorization} .+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  • Create another test order and mark it as paid to see if the issue is now fixed.

SSL Issue

By default HTTPS scheme is used. If there are any SSL issue, alternatively you can use HTTP scheme as explained below.

  1. Go to system->lib from root folder.
  2. Open KyashPay.php file.
  3. Replace this line private static $baseUri = 'https://api.kyash.in/v1'; with private static $baseUri = 'http://api.kyash.in/v1';.
  4. Also replace public $use_https = true; as public $use_https = false;.

Support

Contact [email protected] for any issues you might be facing with this Kyash extension or call +91 8050114225.

opencart_kyash's People

Contributors

amarnathsps avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.