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

    Default Re: Payflow Gateway Update

    I decided to make the changes to the two files today.

    It says 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.


    I'm using CuteFTP Pro and i don't see the lines it asks me to change at 1040-1041 and 886-887.

    At those lines i have for paypalwpp.php // if State is not supplied, repeat the city so that it's not blank, otherwise PayPal croaks

    if ((!isset($options['SHIPTOSTATE']) || trim($options['SHIPTOSTATE']) == '') && $options['SHIPTOCITY'] != '') $options['SHIPTOSTATE'] = $options['SHIPTOCITY'];

    and for paypaldp.php

    case -2:

    case -3:

    I'm confused as to where the exact changes take place.

    Would it not be easier to just let us download a complete file to upload to our server instead of asking us to mess around with code which we may make mistakes with ?

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

    Default Re: Payflow Gateway Update

    The posted instructions note different line numbers for different versions of Zen Cart.
    http://www.zen-cart.com/forum/showthread.php?t=123576
    .

    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. #3
    Join Date
    Feb 2009
    Posts
    210
    Plugin Contributions
    0

    Default Re: Payflow Gateway Update

    Quote Originally Posted by DrByte View Post
    The posted instructions note different line numbers for different versions of Zen Cart.
    Only just checked in to this thread after the last post i made.

    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.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Payflow Gateway Update

    The posted instructions tell you the line numbers for the various versions.
    .

    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.

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

    Default Re: Payflow Gateway Update

    Quote Originally Posted by DrByte View Post
    I have read the posted instructions and i am lost as to which part of the files they are found at.

    Trust me in that i wouldn't be posting to ask you unless i was having difficulty locating the specific part of the file. Thats why i enquired about which line is it located on when using CuteFTP as your FTP.

    Can you supply the two files with the line changes made in them so i don't need to edit. If not i assume this 1.39 version of Zencart being released will have the two files i require.

    When is 1.39 being released ?

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

    Default Re: Payflow Gateway Update

    Quote Originally Posted by DrByte View Post
    The posted instructions tell you the line numbers for the various versions.
    Hey DrByte i'm still really needing help on changing the two files.

    Can i ask that you supply the two files as a download for people who do not want to alter code.

    Thats just a thought but like i said in my last post i have read the instructions several times over and i cannot locate the code to change so i need additional help.

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

    Default Re: Payflow Gateway Update

    Gee guys i'm not asking for much here. Just a little help please ?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    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.

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

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    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.

 

 
Page 1 of 2 12 LastLast

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