Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16701

Re: How does Ecommerce work?

From gordonb.842wr@burditt.org (Gordon Burditt)
Subject Re: How does Ecommerce work?
Newsgroups comp.lang.php
References <5bf3406f-3ecb-41ac-bd20-206c5a9d86bb@googlegroups.com> <a5OdnY6Q2f8WTWTLnZ2dnUU7-VXNnZ2d@posted.internetamerica> <1a7b3128-2142-492b-be03-a406f1371ca5@googlegroups.com>
Message-ID <HKidnUeS0cz0e2fLnZ2dnUU7-RvNnZ2d@posted.internetamerica> (permalink)
Date 2016-03-29 15:32 -0500

Show all headers | View raw


> I think you guys didn't understand my question.

They are trying to tell you that what you are attempting to do is
very risky, and you keep asking how to use a nuclear bomb to remove
an infected tooth, ignoring the warnings that you're about to blow
your head off.  You don't seem to be listening.

>> Payment
>> processors provide some sort of program interface for your customers
>> to buy stuff
> 
> Yes - if you could post a couple of lines of PHP which do this, I'd be most delighted..... :)
> (how does the ecomm website interface with the gateway, and how does the gateway WORK?)

If you use non-PCI-certified code to handle credit card numbers,
and you have a security breach, leaking card numbers and perhaps
other details to thieves, you could lose more money than your
ancestors up to 10 generations back earned in their lifetimes.
Maybe much more.

Writing your own code for this is taking an insane risk.

If you just want to see what it's like, without really using the
code on real credit card numbers, go to:

https://github.com/thephpleague/omnipay

scroll down the page, and there's a short example code in PHP, along
with a very long list of payment processors supported.  Also on the
same (very long) page, there's an explanation of how it works.  The
code is open source.

Ideally you want the customer's web browser to send the credit card
details directly to the payment gateway.  The gateway will inform
you whether the payment was successful or not.  The credit card
number should never show up on your server AT ALL.  This is not
what Omnipay does (at least in the example shown) - the credit card
number is in a PHP variable.

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How does Ecommerce work? bit-naughty@hotmail.com - 2016-03-28 05:21 -0700
  Re: How does Ecommerce work? "J.O. Aho" <user@example.net> - 2016-03-28 15:39 +0200
  Re: How does Ecommerce work? Jerry Stuckle <jstucklex@attglobal.net> - 2016-03-28 15:31 -0400
    Re: How does Ecommerce work? "J.O. Aho" <user@example.net> - 2016-03-29 18:15 +0200
      Re: How does Ecommerce work? Michael Vilain <mev94303y@yahoo.com> - 2016-03-29 09:34 -0700
        Re: How does Ecommerce work? Jerry Stuckle <jstucklex@attglobal.net> - 2016-03-29 12:50 -0400
  Re: How does Ecommerce work? gordonb.yjw6m@burditt.org (Gordon Burditt) - 2016-03-28 19:47 -0500
    Re: How does Ecommerce work? bit-naughty@hotmail.com - 2016-03-29 11:38 -0700
      Re: How does Ecommerce work? Jerry Stuckle <jstucklex@attglobal.net> - 2016-03-29 15:50 -0400
      Re: How does Ecommerce work? gordonb.842wr@burditt.org (Gordon Burditt) - 2016-03-29 15:32 -0500
        Re: How does Ecommerce work? bit-naughty@hotmail.com - 2016-04-01 11:33 -0700
          Re: How does Ecommerce work? Jerry Stuckle <jstucklex@attglobal.net> - 2016-04-01 15:25 -0400
            Re: How does Ecommerce work? "J.O. Aho" <user@example.net> - 2016-04-01 22:19 +0200
      Re: How does Ecommerce work? Richard Yates <richard@yatesguitar.com> - 2016-03-30 08:48 -0700
        Re: How does Ecommerce work? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-31 03:34 +0200
          Re: How does Ecommerce work? Jerry Stuckle <jstucklex@attglobal.net> - 2016-03-30 22:37 -0400
          Re: How does Ecommerce work? Richard Yates <richard@yatesguitar.com> - 2016-03-30 21:28 -0700
            Re: How does Ecommerce work? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-31 15:33 +0200

csiph-web