Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Zen Cart -2- PayPal Virtual Terminal

    I have created a Visual Basic 2005 program to read a modified order page then pass it to PayPal's Virtual Terminal. It is a very rough program with a lousy interface. It also requires .NET2 on the computer running the program. This was a proof of concept for me, but if someone wants a copy of it, PM me.

    My goal is to use VBSCRIPT to open two browsers and transfer data from one to the other by reading and setting element values. The script works fine to open up the browsers but I can find enough examples / help on how to read elements from one browser to another.

    I am requesting HELP.

  2. #2
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: Zen Cart -2- PayPal Virtual Terminal

    I am excited!
    My goal is to extract customer order information from an administrate page in the store and send it to the PayPal Virtual Terminal. This will reduce errors from
    manual copying of data.

    This code is only a proof of concept and does not transfer data to the PayPal Virtual Terminal (yet).
    But I am getting closer to having a ZEN2PAY script.

    The following script can be pasted into a text file and saved as something.vbs
    Then double click on the file to launch 2 mini browsers and cross copy data.

    'Start of vbscript
    Set oIE_1 = WScript.CreateObject("InternetExplorer.Application")
    'Set browser number 1 window properties.
    oIE_1.left = 50
    oIE_1.top = 50
    oIE_1.height = 275
    oIE_1.width = 360
    oIE_1.menubar = 0
    oIE_1.toolbar = 0
    oIE_1.statusbar = 0
    oIE_1.navigate("about:blank")
    Do While oIE_1.Busy : Loop
    Set oDoc_1 = oIE_1.Document
    oDoc_1.writeln("<HTML><HEAD><TITLE>TITLE TEST 1</TITLE></HEAD>")
    oDoc_1.writeln("<BODY><B>TEST 1</B>")
    oDoc_1.writeln("<FORM NAME='TESTFORM1'>")
    oDoc_1.writeln("<INPUT TYPE='TEXT' NAME='TEXT1'>")
    oDoc_1.writeln("<INPUT TYPE='TEXT' NAME='TEXT2'>")
    oDoc_1.writeln("</FORM></BODY></HTML>")
    oIE_1.visible = 1

    Set oIE_2 = WScript.CreateObject("InternetExplorer.Application")
    'Set browser number 2 window properties.
    oIE_2.left = 450
    oIE_2.top = 50
    oIE_2.height = 275
    oIE_2.width = 360
    oIE_2.menubar = 0
    oIE_2.toolbar = 0
    oIE_2.statusbar = 0
    oIE_2.navigate("about:blank")
    Do While oIE_2.Busy : Loop
    Set oDoc_2 = oIE_2.Document
    oDoc_2.writeln("<HTML><HEAD><TITLE>TITLE TEST 2</TITLE></HEAD>")
    oDoc_2.writeln("<BODY><B>TEST 2</B>")
    oDoc_2.writeln("<FORM NAME='TESTFORM2'>")
    oDoc_2.writeln("<INPUT TYPE='TEXT' NAME='TEXT1'>")
    oDoc_2.writeln("<INPUT TYPE='TEXT' NAME='TEXT2'>")
    oDoc_2.writeln("</FORM></BODY></HTML>")
    oIE_2.visible = 1

    'Cross read and write from each browser
    oDoc_1.testform1.text1.value = "TEST 1 TEXT"
    oDoc_2.testform2.text1.value = "TEST 2 TEXT"
    oDoc_1.testform1.text2.value = oDoc_2.testform2.text1.value
    oDoc_2.testform2.text2.value = oDoc_1.testform1.text1.value

    'End of vbscript

  3. #3
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Zen Cart -2- PayPal Virtual Terminal

    By having to use the .NET mean that you need to have the store installed on a windows server?

    thank you,

    betty

  4. #4
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: Zen Cart -2- PayPal Virtual Terminal

    No, It would be installed on your PC during the Visual Basic 2005 Express Edition installation. I can give you the code, you make your property adjustments and compile it your self.

  5. #5
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Zen Cart -2- PayPal Virtual Terminal

    Quote Originally Posted by stagebrace View Post
    No, It would be installed on your PC during the Visual Basic 2005 Express Edition installation. I can give you the code, you make your property adjustments and compile it your self.
    thank you, I think I'll send my fiance to the thread as he knows how to translate tech stuff into my native language: blonde

    thank you again,

    betty

 

 

Similar Threads

  1. PayPal Virtual Terminal
    By CarStickersDecals in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 26 Mar 2010, 11:04 PM
  2. Paypal virtual terminal
    By kitcorsa in forum General Questions
    Replies: 3
    Last Post: 31 Jul 2008, 09:52 AM
  3. PayPal virtual terminal vs checkout
    By rennsix in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 7 Dec 2007, 05:26 PM
  4. Zen-Cart as virtual terminal
    By enquirer66 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Oct 2007, 03:14 PM
  5. Virtual Terminal Payments posted in Zen Cart
    By vibride in forum Managing Customers and Orders
    Replies: 7
    Last Post: 4 May 2007, 08:45 PM

Posting Permissions

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