Info


Plan Pay via Stripe V3 with Admin Panel


Author : CodeDaddy

Create Date : September 7, 2020

Support : yupokteam@gmail.com

Overview


Plan Pay is very powerful tool to your Business. You can accept payment with just a single click via Stripe and easily manageable with Hassle Free Admin Panel.

This feature has an attractive front end and back end interface that are really awesome and eyecatching. Almost all kinds of changes are possible to do using the Admin Panel without having any kind of programming language knowledge.

It is built using the procedural php (with PDO feature) and without any framework. For this reason, it can be customized easily by most of the developers and create own Billing System with this awesome feature.

Security : It is protected against SQL injection, XSS and other attack and your website will be safe.

Requirements


Before starting to install, make sure you fulfill the following requirements:
  • Stripe Account.
  • https Website
  • You can use this script on any live LINUX or PHP server or Localhost.
  • On Localhost - Only Testing Mode is working
  • Required PHP version in server >= 5.4.

Features


  • Create Dynamic Plans
  • Search Plans
  • Edit Plans
  • Set Price for Plans
  • Accept Payment in USD via Stripe
  • Create Success Message after Transaction.
  • Activate / Deactivate Plans
  • Activate / Deactivate Plans Combined Section
  • Active Plans Different Section
  • Deactive Plans Different Section
  • Today, This Month & Total Analysis on Dashboard
  • Update Email
  • Update Password

How to Create Database, Username, Password & Import SQL file? (It's Only a Demo)


  • Step 1: Login to your website CPanel with your Username & Password.


  • Step 2: On Homepage, Scroll Down to Databases & Click on MYSQL Databases option.


  • Step 3: Create New Database, Just assume (This is Only Demo Purpose) we want to give name of Our Database is billing_system So Just write billing_system & press Create Database Button.


  • Step 4: A message appears, Added the database "yupok_billing_system" It means Your Database Name : yupok_billing_system , Note : yupok_ prefix is demo, your website automatic added Prefix to your database name.So copy that name that is your Original Database Name.


  • Step 5: Press Go Back and return to Database Page again.

  • Step 6: Scroll Down the Page, MYSQL Users Add New User, Just fill the details like you want to use Username & Password & keep details in the safe place & Press Create User button.


  • Step 7: A message appears, You have successfully created a MySQL user named "yupok_demo_user". It means Your Database USERName : yupok_demo_user , Note : yupok_ prefix is demo, your website automatic added Prefix to your Username.So copy that name that is your Original Database Username.

  • Step 8: Press Go Back and return to Database Page again.

  • Step 9: Scroll Down the Page again to Add User to Database . Select your Last Created Username & Last Created Database for this billing system & Press Add Button.


  • Step 10: You will redirect to Another Page. Click on ALL PRIVILEGES option, Scroll down & Press Make Changes Button.



  • Step 11: A Success message appears on top right corner. After that scroll down to the page and press Go Back


  • Step 12: Example
    YOUR_HOST_NAME : localhost  Mostly its localhost but if not then contact your website service provide.
    YOUR_DATABASE_NAME : yupok_billing_system  This is demo which we explained above. Your real database name is different.
    YOUR_DATABASE_USERNAME : yupok_demo_user  This is demo which we explained above. Your real database username is different.
    YOUR_DATABASE_Password : password  That is explained in Step 6.
  • Step 13: Import sql file to Database. Go to CPanel homepage scroll down to Database , Click on phpMyAdmin, your database will be open.

  • Step 14: On the left sidebar your Newly Database Option will be shown Just click on that.

  • Step 15: After click see on right side there is Import Option click on that and browse & select sql file from your downloaded database folder and press Go Button on the bottom.


  • Step 16: Your database will be imported and your website is ready to Use.

Configuration & Stripe Setup


Do Carefully Otherwise Script will not work

  • Unzip the Downloaded File, Go to upload Folder after that Go to admin Folder.

  • After that Go to admin folder


  • Now Go to db folder


  • Open config.php file in any Text Editor like Notepad++, Dreamweaver , etc.


  • Save Details according to your database. Read below section, How to create Database, Username, Password & Import SQL file. Click Here To Read Again


  • Note 1 : At Line 19 in config.php file : Defining Base URL : It means this is your full website name with folder. i.e. https://www.yourwebsite.com/ or https://yourwebsite.com/ or http://yourwebsite.com/ . Point to remeber - Please add forward slash / at the end of your website & folder name. Let's assume you make a folder i.e. payment , then replace https://www.yourwebsite.com/payment/

  • Note 2 : At Line 22 in config.php file : Defining Admin URL : Do not change this otherwise script won't work.

  • At Line 26 inside single inverted comma '' Copy & paste your Stripe Secret Key

  • At Line 28 inside single inverted comma '' Copy & paste your Stripe Publishable Key

  • How to get Stripe Secret & Publishable Key. - Login to your Stripe Account and Go to Developers->API Keys Stripe API Keys


  • Now go to js Folder (Note: No Admin js folder) Open errorMsg.js File. Go to Line No. 29 & Change inside single inverted comma '' with Your Stripe Publishable Key. Otherwise Script won't work.


  • Upload All folder and import database file and its Done.

First Time Admin Login


  • When you have configured correctly Database & Import SQL file then upload time.
  • Go to downloaded file -> Go to upload folder -> Copy All Folder & File (Note : In admin folder, go to db folder and open config.php file and replace details with your server detail which we explained above.)
  • Create Folder on your server where you want to Upload this script. Upload all copied files.
  • Let we help you in Detail with example.
  • Assume you make a folder on your server stripe and upload all copied files with correct database configuration.
  • URL for Admin : www.yourwebsite.com/stripe/admin/
  • Assume you make a folder on your server payment and upload all copied files with correct database configuration.
  • URL for Admin : www.yourwebsite.com/payment/admin/
  • Default Email : admin@admin.com & Password : 123456
  • Click on User Icon on Top Right Corner => Click on Email => Update Your Login Email.
  • Click on User Icon on Top Right Corner => Click on Password => Old Password = 123456 => Set New Password & Keep in Safe Place

Copyright © CodeDaddy


You are not allowed to use this documentation template for your personal or commercial or any other purposes.