Results 1 to 8 of 8

Thread: E-Commerce - Easy Question. ;) Jk

  1. #1

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Arrow E-Commerce - Easy Question. ;) Jk

    I have to come up with the easiest method of ecommerce for a website to take credit card purchases. I know there is paypal but this is for a clients program I wrote last year. I can not display a "Paypal" logo or other things that will make it look cheesy. I need secure transactions etc.

    What are the best and cheapest options I have to look into and any sample code to go along with each?

    TIA
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: E-Commerce - Easy Question. ;) Jk

    rob, how cheap does it need to be?

    I currently use verisign's payflowpro dll to do CC transactions and it works really well, and is totally seemless. It is however in the realm of 1000-1200 per year.

    once you have the license, you can use it ANYWHERE. windows apps, web apps, you basically pay for the service to do the transactions not for the dll

    The code is no more than a few lines though

    also paypal has an API... not sure about if you need to put the logo or not, but its possible you could use paypal via their APIs to do processing.. of course paypal takes a chunk of everything

  3. #3

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: E-Commerce - Easy Question. ;) Jk

    That sounds great except for the cost Unless they want to add a charge per transaction to cover the yearly license. Hmm. Are there other methods somewhere in the cost of haf of that one or less?

    Can you post a small example of payflowpro code?

    Thanks
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: E-Commerce - Easy Question. ;) Jk

    they have another thing called just payflow or maybe payflow "something" other than pro that is cheaper, but not as seemelss (ie it takes you to another site to do the trans, and returns the result to you)

    anyway here is a CC processing routine from one of my windows apps... some of the vairables are not defined because this sub is actually part of a class i wrote to do the transactions, so some variables are defined outside the scope of the sub... but you can see its pretty simple

    note that the pfpro variable is of type PayFlowPro.PFPro, which is a .NET wrapper class they give you for .net apps, it hooks into the COM dll to make it very easy to write this stuff in .NET... no need for DLL imports or anything
    VB Code:
    1. Public Sub ProcessCard()
    2.  
    3.         Dim pfpro As New PayFlowPro.PFPro
    4.         Dim sResponse As String
    5.         Dim pCtlx As Integer
    6.  
    7.         Dim User As String
    8.         Dim Vendor As String
    9.         Dim Partner As String
    10.         Dim Password As String
    11.  
    12.         Dim HostAddress As String
    13.         Dim HostPort As Integer
    14.         Dim ParmList As String
    15.         Dim Timeout As Integer
    16.  
    17.         Dim UserAuth As String
    18.  
    19.         User = "USERIDHERE"
    20.         Vendor = "VENDORHERE"
    21.         Partner = "verisign"
    22.         Password = "PASSWORDHERE"
    23.  
    24.         If mTesting Then
    25.             HostAddress = "test-payflow.verisign.com"
    26.         Else
    27.             HostAddress = "payflow.verisign.com"
    28.         End If
    29.         HostPort = 443
    30.         ParmList = "&TRXTYPE=S&TENDER=C&ACCT=THECARDNUMBER&EXPDATE=THEEXPDATE&AMT=THEAMOUNT&COMMENT1=THECOMMENT"
    31.  
    32.         'INSERT OUR VALUES
    33.         ParmList = ParmList.Replace("THECARDNUMBER", mCCNumber)
    34.         ParmList = ParmList.Replace("THEEXPDATE", mExpDate)
    35.         ParmList = ParmList.Replace("THEAMOUNT", mAmount)
    36.         ParmList = ParmList.Replace("THECOMMENT", mComment)
    37.  
    38.         Timeout = 30
    39.  
    40.         UserAuth = "USER=" + User + "&VENDOR=" + Vendor + "&PARTNER=" + Partner + "&PWD=" + Password
    41.  
    42.         ParmList = UserAuth + ParmList
    43.  
    44.         pCtlx = pfpro.CreateContext(HostAddress, HostPort, Timeout, "", 0, "", "")
    45.  
    46.         sResponse = pfpro.SubmitTransaction(pCtlx, ParmList)
    47.  
    48.         mResponse = New ArrayList(sResponse.Split("&"c))
    49.  
    50.         pfpro.DestroyContext(pCtlx)
    51.  
    52.         pfpro = Nothing
    53.     End Sub

  5. #5

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: E-Commerce - Easy Question. ;) Jk

    So mResponse holds the return authorization id, transaction id, etc. Looks straight forward. Only thing is that they will only be doing low volume of transactions and the product is parking permits at a cost of $2.00 a night. For the non-pro version to take you to another site may be acceptable if its cheap enough and easy enough to implement.

    I think a search over at verisign is needed to see the details on the non-pro version.

    Thanks so far for the help. Anything other options out there? I saw that thread in VB.NET on the paypal apis but it looks like it also involves CGI scripting. What do you think of it?

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: E-Commerce - Easy Question. ;) Jk

    yeah mresponse holds all the info you need. The PDF you can get from verisign has a whole list of the possible return codes and what they mean, they also give you a test area with test data to use to get it working right. It is a little on the expensive side, but it has worked 100% for us everytime and we have it in a windows app, an asp app, and an asp.net app.

    are people going to put 2 bucks on their credit card??

    I have never really touched the paypal stuff.. I only know it exists from one day I went looking at the ebay API stuff...

  7. #7

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: E-Commerce - Easy Question. ;) Jk

    What is probably going to happen is that they will purchase multiple nights. The only other way to get a permit is to drive over to the police station and use a kiosk system paying with cash.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: E-Commerce - Easy Question. ;) Jk

    well just keep in mind that credit card transactions also cost PER transaction.. this isn't a cost that you pay to verisign, but its a cost that is payed to the actual PROCESSOR of the cards. we use merchantesolutions

    this is the case with all CC processing as far as I know, even before we did it the WEB way and had the swipe machine here that dialed in, we payed per transaction.

    verisign is simply the gateway between the merchant processor and yourself.

    so i guess its a pretty complicated system, but as far as implementing it, its very simple from a programming standpoint... maybe that is why we pay so much for it here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width