Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Feb 2009
    Posts
    210
    Plugin Contributions
    0

    Default Re: Payflow Gateway Update

    Quote Originally Posted by DrByte View Post
    Sorry.
    What happened when you reduced the instructions to just this part: ?

    If i could locate the line you mention i would change it. It's just a long file and usually i have no trouble editing files but i cannot locate where the code is to change.

    Perhaps it's easier if i used a program which will give me the exact line you mention.

    Do you recommend a free FTP program that can locate the lines as mentioned in your posts ?
    Last edited by need_help; 28 Jun 2009 at 03:40 PM.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Payflow Gateway Update

    A couple popular free editors ideal for working with PHP files include Notepad++ and Crimson Editor. Both show line numbers, offer good search capability, and even do syntax highlighting which helps make the code easier to read and even spot syntax errors when making changes.

    Notepad++ can be set to be the default editor for .php files, and thus your FTP program *might* let you use it as the editor instead of its built-in editor (which sounds like is pretty weak).

    Worst case, you may find that you'll have to download the file to your PC, then open the file with your editor, make changes, and then upload the file back to the server.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Feb 2009
    Posts
    210
    Plugin Contributions
    0

    Default Re: Payflow Gateway Update

    As per DrBytes instructions i used Notepad II and pasted the information from the PayPalwpp file into it.

    I then did a search for the information using Notepad II's search facility and located it on line 2079.

    So i thought i would share this with people and if you are using CuteFTP or certain other FTP programs to edit your files directly on the server then the information to edit may in some circumstances be located at line 2079.

    For the PayPaldpp file the code was found on line 1771 using Cute FTP.
    Last edited by need_help; 13 Jul 2009 at 08:47 AM.

  4. #14
    Join Date
    Feb 2009
    Posts
    210
    Plugin Contributions
    0

    Default Re: Payflow Gateway Update

    I must be using a modified PayPal file perhaps because i am using a module add on which overwrote the original files because i note on another zencart install i did that the file lines to edit are indeed exactly where DrByte mentions they should be on the instructions.

    So ignore my advice above and i'm scratching my head as to why my PayPal files are modified.

  5. #15
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Payflow Gateway Update

    Perhaps fire up WinMerge?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #16
    Join Date
    Feb 2009
    Posts
    210
    Plugin Contributions
    0

    Default Re: Payflow Gateway Update

    Quote Originally Posted by DrByte View Post
    Perhaps fire up WinMerge?
    I just had a quick look while changing the file in the new install for another site.

    It seems there is a lot of line break spaces in the file which has the changes at line 2079 and line 1771 on my original site. The spaces come cleanly though and don't mess with any code.

    Nothing has been altered just a lot of spaces between code.

    Everything works though. Should i just upload a new file to cut out those spaces or leave it as it is ?

    I have no idea how it got that way as i have not touched those files as far as i recall.

  7. #17
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Payflow Gateway Update

    Sometimes FTP programs will change the line-endings of files, resulting in double-spacing of everything. Sometimes this happens by using cheap editors built-in to some FTP programs. (That's not meant to be a slight at you, just a observation of fact from personal experience and numerous similar reports on the forum.)

    If you're certain that the file is otherwise unchanged, uploading a fresh properly-formatted version of the file should be harmless, and will make life easier later if edits are required.

    In the case of your PayPal file, if you do upload a replacement make sure you remember to make the appropriate edit to the file ... after all, that's why we're having this discussion in the first place, right? :)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v154 Does Paypal Payflow Gateway (Paypal Payflow Pro) work with 1.5.4?
    By mumzie in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 16 Jul 2015, 06:59 PM
  2. v139h Is Zen Cart version v139h compatible with Payflow Payment Gateway
    By Eddie French in forum General Questions
    Replies: 1
    Last Post: 1 Dec 2013, 09:59 PM
  3. Replies: 2
    Last Post: 31 Dec 2009, 04:42 AM
  4. Payflow Gateway Update
    By gsdcypher in forum PayPal Website Payments Pro support
    Replies: 26
    Last Post: 28 Sep 2009, 04:21 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