View Code? Open in Web Editor
NEW
This project forked from anburocky3/stripe-payment-gateway-integration-codeigniter
Integrating Stripe Payment Gateway in CodeIgniter 3.1.10 with Bootstrap 4.3.1 layout on the go!
License: MIT License
PHP 99.67%
HTML 0.31%
CSS 0.02%
stripe-payment-gateway-integration-codeigniter's Introduction
Stripe-Gateway-Integration-CodeIgniter 3.1.10
1. Card Entering Form
- If Card is valid, Will Charge the Card
- If Anything goes Wrong, display Failure page
Quick steps to integrate to your web/app on the go!
- Clone the repository
git clone https://github.com/anburocky3/Stripe-Payment-Gateway-Integration-CodeIgniter.git
- Open Terminal, type
cd Stripe-Payment-Gateway-Integration-CodeIgniter
- Copy
Welcome.php
controller file in your applications/controllers/
directory
- Copy
product_form.php
, payment_success.php
, payment_error.php
view files in ourapplications/views/
directory to your directory.
- Copy
stripe
folder fromapplications/third_party
folder and paste it in yourapplications/third_party
folder.
- Create New Database and import the
orders.sql
to your Database.
- Configure the
base_url
and database info in applications/database.php
- Create developer account on Stripe and get your Stripe secret key & Stripe Publishable key.
- Replace your publishable key in
applications/views/product_form.php
on line 25
- Replace your Secret key & Publishable key in
applications/controller/Welcome.php
on line 30, 31
- Customize the controller logic according to your web/app.
- Welcome.php Controller - Displays the product_form.php view page.
- Welcome.php/check Method - Check all parameters required for transaction and generates sha hash and display the confirmation.php view page.
- Welcome.php/help Method - Displays the quick integration help page.
- 15th May, 2019 - Updated from
3.1.7
to3.1.10
stripe-payment-gateway-integration-codeigniter's People
Contributors