How to use omnipay for implementing online payment with CodeIgniter? -
i trying using omnipay implementing online payment.
i have read several article on topic. also, have read omnipay documentation on github. not understand, how can implement ?
because, documentation not clear me.
is there article on ?
recently, have faced problem. after trying days later, have success. mention steps as:
step-1: @ first install composer in system. follow link composer->http://getcomposer.org/
step-2: install omnipay in system according instruction https://github.com/adrianmacneil/omnipay#installation
step-3: create composer.json file in root directory. , paste code in it
{ "require": { "omnipay/omnipay": "*" } }
step-4: install curl in system using command
curl -s http://getcomposer.org/installer | php
step-5: update composer using:
php composer.phar update
step-6: include composer autoloader. add line top of index file file:
require_once __dir__./vendor/autoload.php';
step-7: if not works provide 0777 file permission.
sudo chmod -r 0777 your_directory
even
rm -rf vendor/
and re-run composer update too.
i hope work.for further problem follow:
i hope success me. warning: not miss add ominipay controller , library controller , library.
Comments
Post a Comment