Processing Credit Cards

Discussion in 'PHP' started by MayurGondaliya, Mar 24, 2010.

  1. #1
    I am in need to following system:

    On one site, the users will purchase a product. At the time of purchasing it, they will just enter the CC details, and I will store it to my database. (in encrypted form).

    Then, after some days, I need to perform the transaction. I want to use Paypal for the same. Is there any class or tutorial for the same?
     
    MayurGondaliya, Mar 24, 2010 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    for security and processing reasons the safest from customer point of view is to go directly with paypal CC payments. have your customers pay to paypal and then redirect to your site.
    that would save you lots of security headache and liability problems in case of abuse of CC data - it also secures that all customers have international rules for refund etc applied to all transactions. I would never trust a site based in IN but I definitely trust paypal no matter where the pp dealer is.
     
    hans, Mar 24, 2010 IP
  3. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #3
    There's all sorts of legislation to abide by when storing credit cards, never mind the actual security implications. It's also against the terms of Visa/MC to store CV2 numbers which are needed to charge most credit cards.

    You're probably best looking at someone like MetaCharge who offer the storage or pre-auth of cc on your behalf. They can the supply you with a repeat billing key or similar to make later payment requests on that card if authorised by the user. Saves all the hassle of security and legislation for storing the details.
     
    mfscripts, Mar 24, 2010 IP
  4. MayurGondaliya

    MayurGondaliya Well-Known Member

    Messages:
    1,233
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    170
    #4
    Hello All,

    Thanks for your replies.

    I am exactly in need to of what mfscripts said. Actually, this is a group buying site. There is a "deal", which requires a minimum number of people to purchase that item.

    At the time of sign up, I need to make an assurance of payment, but I don't want to charge at this time. if the deal is successful, I wish to charge them.

    I will look at metacharge, if it helps me.

    If there are any other suggestions, please let me know.
    Thanks,
     
    MayurGondaliya, Mar 24, 2010 IP
  5. poblo10

    poblo10 Peon

    Messages:
    135
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    credit cards being used online isnt good anymore if you have a store website you may as well use paypal
     
    poblo10, Mar 24, 2010 IP
  6. MayurGondaliya

    MayurGondaliya Well-Known Member

    Messages:
    1,233
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    170
    #6
    I can not use paypal directly. As I explained, users are not making payment on the spot. I need to charge them after a specific period, depending on certain conditions.

    I am making the system something like: groupon.com

    Thanks
     
    MayurGondaliya, Mar 26, 2010 IP
  7. MickeyE

    MickeyE Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Unless you are PCI compliant you would be breaking the law when storing the CC info and any processor accepting your data this way could land themself in hot legal waters..

    It is probably possible to do what you want to do but i strongly recommend that you find a processor that can work within your needs and help store the CC info to avoid legal troubles.
     
    MickeyE, Mar 26, 2010 IP
  8. mnvlxxx

    mnvlxxx Peon

    Messages:
    47
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I think the 3DSecure plataform allows you to have recurring payments. The credit card info is sent to a server directly trough SOAP and you receive an imediate answer saying if it was accepted or not. You will not store credit card info.
     
    mnvlxxx, Mar 26, 2010 IP