/CI-Payment-Gateway

Paypal and stripe payment gateway integration

Primary LanguagePHP

CI-Payment

Integrate paypal and stripe payment gateway into codeigniter

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License

About The Project

Screen Shot

This is codeigniter application with integrated stripe and paypal payment gateaway

(back to top)

Built With

This application built on codeigniter mvc framework and official stripe library with a third party paypal library which will be found on application/libraries directory

  • php
  • codeigniter
  • Bootstrap
  • JQuery

(back to top)

Getting Started

By following the instructions you can run the script on your machine

Installation

  1. Clone the repo
    git clone https://github.com/S4F4Y4T/CI-Payment
  2. Changin folder and files permissions
    sudo find "Your project directory" -type f -exec chmod 644 {} \;
    sudo find "Your project directory" -type d -exec chmod 755 {} \;
  3. Go to application/config directory then open payment.php and set all the configs accordingly from your developer accounts of paypal and stripe

(back to top)

Usage

After the installation is complete go to the project directory and proceed with the payments. Right now the payment gateway is on test mode to switch it to live change config with live data of your developer account

Here a test card to test stripe gateway on test mode

Card number: 4242424242424242

Exp Month/year: any future date

CVC: Any 3 digit

Screen Shot Screen Shot

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)