Info


EmailPay - Send Link & Accept Paypal Payment with Admin Panel


Author : CodeDaddy

Create Date : 18-10-2020

Support : yupokteam@gmail.com

Overview


EmailPay is very powerful tool to your Business. You can accept payment with just a single click via Paypal 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:
  • Paypal Business Account.
  • You can use this script on any live LINUX or PHP server.
  • Required PHP version in server >= 5.4.
  • Required Mail Function enabled on your server.

Features


  • Create Bills
  • Send Paypal Payment Link to Customer with Details via Email.
  • Accept Paypal Payment.
  • Resend Email to Customer for Due Payment
  • Transaction Complete Email to Customer with Transaction Details.
  • Automatic Send Email to Admin after Every Successful Transaction with Details
  • Activate / Deactivate Bills
  • Edit Bills
  • Hassle Free Active Bills different section
  • Hassle Free Deactive Bills different section
  • Hassle Free Successful Payments different section
  • Hassle Free Due Payments different section
  • Resend Transaction Details to Customer via Email anytime.
  • Update Admin Company/Individual details anytime.
  • Using Paypal IPN method.
  • Update Paypal Business Email
  • Create Dynamic Success Message after Transaction Successful.
  • Earning Analysis on Dashboard (Today, This Month & Total)
  • Bills Analysis on Dashboard (Active Bills, Deactive Bills & Total Bills)
  • Payment Analysis on Dashboard (Due Payments & Successfull Payments)
  • Update Email
  • Update Password
  • User can check their Payment Status via Email & Order Id (Which sent to their email)
  • Full Security of Every Transactions
  • Well Rich Online & Offline Documentation

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


Do Carefully Otherwise Script will not work

  • Unzip the Downloaded File, Go to upload Folder and Unzip again the upload.zip


  • 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 20 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. paypal , then replace https://www.yourwebsite.com/paypal/

  • Note 2 : At Line 23 in config.php file : Defining Admin URL : Do not change this 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 -> Unzip expense.zip file & Open that folder -> Copy admin folder (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 paypal and upload all copied files with correct database configuration.
  • URL for Admin : www.yourwebsite.com/paypal/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

Paypal Setup


  • Step 1 : First Login to your admin panel of this script.
  • Step 2 : Open a New Tab and then login to your Paypal Business Account
  • Step 3 : Come on Admin Panel Tab, Click on Paypal IPN option on left sidebar
  • Step 4 : Copy the generated URL on that page.
  • Step 5 : After Copied URL , Click on Link written above generated URL i.e. Click Me for Paypal IPN URL


  • Step 6 : A New Tab opens with Paypal IPN URL


  • Step 7 : Click on Choose IPN Settings. A new page will be Open.
  • Step 8 : First copy your IPN Url in Notification URL box which you copied in Step 4, then choose option Receive IPN Messages(Enabled) and Click Save.


  • Step 9 : Go to your this script admin panel and Open Success Message option on Left Sidebar, You can also save success message which you want to show your User after Successfull Transaction.
  • Step 10 : Copy the generated Auto Return URL on that page.
  • Step 11 : After Copied URL , Click on Link written above generated URL i.e. Click Me for Paypal Auto Return URL


  • Step 12 : A New Tab opens with Paypal Auto Return URL


  • Step 13 : Auto Return should be on with Copied URL and after that Payment Data Transfer should be on
  • Step 14 : This is the last Step, Come on to the admin panel go to Paypal Business Email option and Save your Paypal Business Email Address.

Copyright © CodeDaddy


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