Welcome Guest, Not a member yet? Register   Sign In
Checkout.com Payment gateway integration
#1

I am using checkout.com payment gateway. I want to integrate it to my website but in their developer area I am not able to find any suitable solution to integrate it with codeigniter. Below is the developer area of checkout.com
http://developers.checkout.com/
Any help in this regard will be very helpful. Thank you.
Reply
#2

I would create a helper and it would look something like:

PHP Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

function 
checkout()
{
 
  require_once('/server/path/to/assets/checkout/release/v1.0/autoload.php');


In an assets folder, create a folder called checkout and put their php library into it.

Then you can use it by loading

PHP Code:
$this->load->helper('checkout'); 

Then all their functions are available for you to use in your controller.

Hope that helps,

Paul.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB