1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

paying for things online

Discussion in 'HTML, Graphics & Programming' started by retrac2k, 11 Apr 2006.

  1. retrac2k

    Gangster

    Joined: 30 Oct 2004

    Posts: 112

    Location: Whitstable

    Hey guys,

    Hope this is allowed on the forum, if not, apologies!

    Basically, I have set up a website for my sisters new embroidery company (pretty small, run from home), and she wants people to be able to make orders and pay for stuff online, using credit cards etc. So, I'm after something that enables you to do that on the website.

    I'm thinking along the lines of paypal, but if anyone has any better suggestions, they'd be much appreciated!

    Cheers!
     
  2. mleh

    Hitman

    Joined: 22 Dec 2004

    Posts: 954

    Should be in the H, G & P forum, but hey..

    Oscommerce(.com) is a good online free shop which offers Paypal as a payment processor already installed :)
     
  3. Craig321

    Capodecina

    Joined: 2 May 2004

    Posts: 19,974

    Agreed, osCommerce is very nice. Also has the ability to allow people to pay through 2Checkout etc.
     
  4. retrac2k

    Gangster

    Joined: 30 Oct 2004

    Posts: 112

    Location: Whitstable

    Thanks guys - been checkin it out!

    Does my web host have to have anything in particular enabled? Sorry, bit of a novice at this kinda thing!

    Cheers!
     
  5. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,316

    Location: Plymouth

    Nope - the only thing Oscommerce requires (apart from PHP and MySQL, which everyone should have) which might give a nasty error at the start is PHP's register_globals.

    If you get a Nasty Error trying to access your Oscommerce install then create a file in Windows and call it whatever you like. Like fix.txt. Open it in Notepad and write this:

    php_flag register_globals On

    Then save the file and upload it to the same directory as your Oscommerce install,and rename it to '.htaccess' (your FTP program should let you rename files.)
     
  6. retrac2k

    Gangster

    Joined: 30 Oct 2004

    Posts: 112

    Location: Whitstable

    it says in the setup file to:

    "Using phpMyAdmin or another tool, create your database and user, and assign that user
    to the database. Write down the name of the database, username, and password for this
    database for the database installation procedure."

    Can someone explain this to me please, as like i said, im a novice, and looks a bit complicated to me! Thanks, and sorry for my stupidity!
     
  7. Craig321

    Capodecina

    Joined: 2 May 2004

    Posts: 19,974

    Hi,

    Your webhost should have something like cPanel or Plesk. Login to that.

    From there go to the MySQL section, somewhere on that page you should see a box for a database name. Enter the database name.

    Now the database name, depending on software, OS etc. used will either be just what you entered or could be yourusername_databasename.

    When you're setting up osCommerce it'll ask for your MySQL username, password, database, mysql host, and maybe the port. Leave the host as localhost and the port as default. Enter your account username and password in (the one you use to login etc.) and the database name (see above for name 'types').

    Note, you do not need to make a user/pass for the database, you can just use your default username and password.

    Craig.
     
  8. retrac2k

    Gangster

    Joined: 30 Oct 2004

    Posts: 112

    Location: Whitstable

    damn it, just read on my hosting providers site that they don't support PHP or MySQL... could be a problem! lol
     
  9. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,316

    Location: Plymouth

    Harhar :D

    What kind of monkeys are you with? :D
     
  10. Craig321

    Capodecina

    Joined: 2 May 2004

    Posts: 19,974

    I sure do hope you're not paying!?
    Even the free hosting me and a friend run together has PHP and MySQL & that's free!
     
  11. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,316

    Location: Plymouth

    But that's a really, really insecure idea for a e-commerce database :)
     
  12. Craig321

    Capodecina

    Joined: 2 May 2004

    Posts: 19,974

    Well, yeah, it's safer to make the database it's own user, but you don't have to. It's recommended though :)

    Craig.
     
  13. oldbag

    Sgarrista

    Joined: 14 Oct 2003

    Posts: 7,844

    Don't forget, you'll need some kind of certificate service. There's no way people will put in cc numbers on an unsecured page.
     
  14. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,316

    Location: Plymouth

    If using the standard Paypal setup then cc etc is handled on Paypal's site.

    However account creation is handled on the actual Oscommerce site, and people often prefer to see the ickle padlock as much as possible on eCommerce sites, so yes, very good idea :)
     
  15. retrac2k

    Gangster

    Joined: 30 Oct 2004

    Posts: 112

    Location: Whitstable

    using a company called 123-reg - they were cheap, and not knowing much about hosting and all that, just went with a cheap one! Hmmm, i foresee this as a problem then! Any suggestions whilst i try not to look so stupid?! :(
     
  16. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,316

    Location: Plymouth

    Check out Ochostreview.co.uk - practically all the hosts there have PHP/MySQL and all the hosts running cPanel (and possibly Ensim/Plesk, too) should have an Oscommerce auto-installer :)