Jump to content

need help on how to utilise paypal with my website


davids_media

Recommended Posts

I have spent the last few months working on an e-commerce project. However, I am a complete newbie in regards to setting up paypal completely with an e-commerce site.

 

I have set up a Paypal developer account and I know how to create test accounts in Sandbox. But other than that, I am clueless as to what to do.

 

I have my orders table set up, here is my create table code for that (I know its NOT php);

 

CREATE TABLE `order` (
  `order_id` varchar(32) NOT NULL,
  `order_amount` float(6,2) DEFAULT NULL,
  `order_cart` varchar(255) DEFAULT NULL,
  `order_status` varchar(64) DEFAULT NULL,
  `order_signature` varchar(64) DEFAULT NULL,
  `order_transaction` varchar(32) DEFAULT NULL,
  `order_payer` varchar(32) DEFAULT NULL,
  `order_receiver` varchar(32) DEFAULT NULL,
  `order_receipt` varchar(32) DEFAULT NULL,
  `order_ipn` varchar(32) DEFAULT NULL,
  `order_pub` int(10) DEFAULT NULL,
  `order_vis` int(1) DEFAULT NULL,
  PRIMARY KEY (`order_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

 

So thats my table "orders". I have an item page which users view an item based on a search they make. A friend of mine also gave me some IPN code and a file called toolbox.php but I am struggling to get my head around it.

 

Since I am selling physical products and NOT digital items, how do I go about doing this please? I have attached the essential files to this topic.

18489_.php

18490_.php

18491_.php

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.