[PHP] Webmall with Paypal & IPN

Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    [PHP] Webmall with Paypal & IPN

    Buying Items using Paypal
    this is my first time using PDO i decided to make something hopefully useful


    Features:
    PDO::ODBC Database Connection
    easy to understand code
    protect against ';select delete fuckbitchhimoron;--'
    items stored in a table
    logs stored in another table (Thank you Captain Obvious)


    if you found any ';select delete fuckbitchhimoron;--' exploits that actually work let me know and i'll fix it




    Spoiler:





    And the Admin Panel
    Spoiler:





    NOTE: Coded in 1 hour if there's anything that doesn't work i'll fix it else i dont need comments like "SHITTY CODE" "POOR CODED" etc..


    Download is in Attachmeeeents

    Tables
    Spoiler:
    Code:
    /*Navicat SQL Server Data Transfer
    
    
    Source Server         : SQL
    Source Server Version : 100000
    Source Host           : localhost\SQLEXPRESS:1433
    Source Database       : WebsiteDB
    Source Schema         : dbo
    
    
    Target Server Type    : SQL Server
    Target Server Version : 100000
    File Encoding         : 65001
    
    
    Date: 2016-02-13 07:54:26
    */
    
    
    
    
    -- ----------------------------
    -- Table structure for _donateItems
    -- ----------------------------
    DROP TABLE [dbo].[_donateItems]
    GO
    CREATE TABLE [dbo].[_donateItems] (
    [itemname] varchar(50) NOT NULL ,
    [itemCode] varchar(50) NOT NULL ,
    [itemPrice] varchar(10) NULL ,
    [itemImage] varchar(8000) NULL ,
    [itemDescription] varchar(200) NOT NULL ,
    [itemPlus] int NULL ,
    [uniqueID] varchar(50) NULL ,
    [quantity] varchar(50) NULL 
    )
    
    
    
    
    GO
    
    
    -- ----------------------------
    -- Table structure for _donateItemsLog
    -- ----------------------------
    DROP TABLE [dbo].[_donateItemsLog]
    GO
    CREATE TABLE [dbo].[_donateItemsLog] (
    [id] int NOT NULL IDENTITY(1,1) ,
    [username] varchar(50) NOT NULL ,
    [txnID] varchar(50) NOT NULL ,
    [PAID] varchar(50) NOT NULL ,
    [Status] varchar(50) NOT NULL ,
    [payerEmail] varchar(50) NOT NULL ,
    [charname] varchar(50) NOT NULL ,
    [datepaid] datetime NOT NULL ,
    [itemCode] varchar(50) NOT NULL ,
    [itemUniqueID] varchar(50) NOT NULL ,
    [itemPlus] varchar(50) NOT NULL 
    )
    
    
    
    
    GO
    DBCC CHECKIDENT(N'[dbo].[_donateItemsLog]', RESEED, 8)
    GO
    
    
    -- ----------------------------
    -- Indexes structure for table _donateItemsLog
    -- ----------------------------
    
    
    -- ----------------------------
    -- Primary Key structure for table _donateItemsLog
    -- ----------------------------
    ALTER TABLE [dbo].[_donateItemsLog] ADD PRIMARY KEY ([id])
    GO


    Attached Files Attached Files
    Last edited by B1QB0SS; 13-02-16 at 08:10 AM.


  2. #2
    SilkRoad vSro Service MaDenGo is offline
    MemberRank
    Aug 2012 Join Date
    vSro CommunityLocation
    512Posts

    Re: [PHP] Webmall with Paypal & IPN

    Awesome step but add more descreptions about how to install include pics and about your web mall
    Thanks for ur share

  3. #3
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by MaDenGo View Post
    Awesome step but add more descreptions about how to install include pics and about your web mall
    Thanks for ur share
    open "sql" folder create a new database for the website call it whatever you want i prefer "WebsiteDB" add these tables in the database and you're done

  4. #4
    Enthusiast heavensro is offline
    MemberRank
    Aug 2012 Join Date
    31Posts

    Re: [PHP] Webmall with Paypal & IPN

    i want help for fix that error And if you can upload backup from websitedb

  5. #5
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by heavensro View Post
    i want help for fix that error And if you can upload backup from websitedb
    look at the last comment i posted + make sure you have php_pdo_odbc.dll enabled in your php.ini file

    i recommend using ZendServer 8.5 PHP 5.6

  6. #6

    Re: [PHP] Webmall with Paypal & IPN

    you can share db webDB

    eror: Connection failed: could not find driver
    Last edited by DSilkroad Srovn; 13-02-16 at 08:13 AM.

  7. #7
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by DSilkroad Srovn View Post
    you can share db webDB
    check first post i'm so sorry i forgot to add the tables in the rar (rofl)

  8. #8

    Re: [PHP] Webmall with Paypal & IPN

    fix bro ?

  9. #9
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by DSilkroad Srovn View Post
    fix bro ?
    make sure the php_pdo_odbc.dll is uncommented in your php.ini

  10. #10

    Re: [PHP] Webmall with Paypal & IPN

    not work
    Connection failed: SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    - - - Updated - - -

    php_pdo_odbc.dll enabled

  11. #11
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: [PHP] Webmall with Paypal & IPN

    Finally, something good and important. thanks for your work.

  12. #12
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by DSilkroad Srovn View Post
    not work
    Connection failed: SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    - - - Updated - - -

    php_pdo_odbc.dll enabled
    check your database connection in include/config.php make sure all info are correct

  13. #13
    Enthusiast CandyQ is offline
    MemberRank
    Dec 2013 Join Date
    48Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by RenePunik View Post
    Finally, something good and important. thanks for your work.
    his work O.o

  14. #14
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by CandyQ View Post
    his work O.o
    yes? !

  15. #15
    Apprentice elmagico123 is offline
    MemberRank
    Sep 2012 Join Date
    22Posts

    Re: [PHP] Webmall with Paypal & IPN

    Why this file "cacert.pem" Encrypted ?



Page 1 of 2 12 LastLast

Advertisement