Results 1 to 10 of 17

Hybrid View

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

    Default Re: Payflow Gateway Update

    Quote Originally Posted by need_help View Post
    What lines do i need to make the edits at on the two files if i'm using the latest current edition of Zen Cart ?

    A rough estimate is all i need as there is a lot of code in there and i don't want to make a mistake.
    Are you for real? The exact line numbers are already supplied in the original instructions. And, the code to be changed is supplied along with the new values, which thus gives you additional information on finding the part to edit if your line numbers happen to be different.

    So, since the "latest" version of Zen Cart as of this writing is v1.3.8, that means that the following part of my original post on the topic is the section that applies, which I've copy-and-pasted here again for your convenience:
    Quote Originally Posted by DrByte View Post
    To upgrade your site, the following changes are required:

    Zen Cart v1.3.8:
    Edit your /includes/modules/payment/paypalwpp.php file and make the following changes at lines 1040-1041.
    Edit your /includes/modules/payment/paypaldp.php file and make the following changes at lines 886-887.

    Basically just changing the 2 references of "verisign.com/transaction" to "paypal.com":
    Code:
          $doPayPal->_endpoints = array('live'    => 'https://payflowpro.verisign.com/transaction',
                                        'sandbox' => 'https://pilot-payflowpro.verisign.com/transaction');
    becomes
    Code:
          $doPayPal->_endpoints = array('live'    => 'https://payflowpro.paypal.com',
                                        'sandbox' => 'https://pilot-payflowpro.paypal.com');
    Everything you need is already there.
    .

    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.

  2. #2
    Join Date
    Feb 2009
    Posts
    210
    Plugin Contributions
    0

    Default Re: Payflow Gateway Update

    Quote Originally Posted by DrByte View Post
    Are you for real? The exact line numbers are already supplied in the original instructions. And, the code to be changed is supplied along with the new values, which thus gives you additional information on finding the part to edit if your line numbers happen to be different.

    So, since the "latest" version of Zen Cart as of this writing is v1.3.8, that means that the following part of my original post on the topic is the section that applies, which I've copy-and-pasted here again for your convenience:Everything you need is already there.
    Which part of my post didn't you understand and why do you feel the need to insult with the "are you for real" comment.

    We are not all programmers and html experts here and some of us are learning every single day.

    You post what to do and tell us which part of the code but you fail to take into account there is a large amount of lines of html in those files and i could not locate the lines as you described.

    Maybe my eyesight is failing but hell i thought this was the help forums and you seem to be having a right moan at me just because i'm having difficulty locating the lines. As i already explained they just don't match up when using CuteFTP.

    Instead of making me feel part of a community you make me feel non existent and really you should take into account the fact we are not all html experts here and we will need a helping hand that sometimes goes the extra mile.

    So hey i already asked why you haven't just supplied the changed files as a download but instead you ignore me and decide to ignore my posts for days and instead label me an idiot and basically don't help other than to say look we already told you how.

    Well if you already told me exactly how i wouldn't be saying i have difficulty and asking for your help.

    Sorry that asking for help these days seems too much trouble for you and i guess i won't bother asking again.

    It seems the bigger some organizations get the less human they treat you.

    Have a great day.

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

    Default Re: Payflow Gateway Update

    Sorry.
    What happened when you reduced the instructions to just this part: ?
    Quote Originally Posted by DrByte View Post
    Basically just changing the 2 references of "verisign.com/transaction" to "paypal.com"
    .

    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.

  4. #4
    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.

  5. #5
    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.

  6. #6
    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.

  7. #7
    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.

 

 

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