Home
Softono
Stripe-Payment-Gateway-Integration-CodeIgniter

Stripe-Payment-Gateway-Integration-CodeIgniter

Open source MIT PHP
19
Stars
22
Forks
4
Issues
4
Watchers
3 years
Last Commit

About Stripe-Payment-Gateway-Integration-CodeIgniter

Integrating Stripe Payment Gateway in CodeIgniter 3.1.10 with Bootstrap 4.3.1 layout on the go!

Platforms

Web Self-hosted

Languages

PHP

Links

Stripe-Gateway-Integration-CodeIgniter 3.1.10

#Screenshots Overview

1. Card Entering Form

Card Entering Form

  1. If Card is valid, Will Charge the Card

If Card is valid, Will Charge the card

  1. If Anything goes Wrong, display Failure page

If Anything goes Wrong, display Failure page

Quick steps to integrate to your web/app on the go!
  1. Clone the repository git clone https://github.com/anburocky3/Stripe-Payment-Gateway-Integration-CodeIgniter.git
  2. Open Terminal, typecd Stripe-Payment-Gateway-Integration-CodeIgniter
  3. CopyWelcome.php controller file in your applications/controllers/directory
  4. Copyproduct_form.php, payment_success.php, payment_error.php view files in ourapplications/views/directory to your directory.
  5. Copystripe folder fromapplications/third_party folder and paste it in yourapplications/third_party folder.
  6. Create New Database and import theorders.sql to your Database.
  7. Configure the base_url and database info in applications/database.php
  8. Create developer account on Stripe and get your Stripe secret key & Stripe Publishable key.
  9. Replace your publishable key in applications/views/product_form.php on line 25
  10. Replace your Secret key & Publishable key in applications/controller/Welcome.php on line 30, 31
  11. Customize the controller logic according to your web/app.