Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Payflow Pro Billing Address Error

    I've installed the lastest patches to Zen Cart. They fixed the missing country error with PayPal payments. PayPal works fine. Whenever I try and make a credit card payment with the Payflow Pro, the payment is rejected.

    -----
    Result code: 126:
    There has been an error processing your credit card, please try again.

    Your billing address is shown to the left. The billing address should match the address on your credit card statement. You can change the billing address by clicking the Change Address button.
    -----

    I've reentered the address, but it didn't help.

    I Included two screen shots, if they're any help

    Thanks for any help.



    Larry
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Error_Headers.jpg 
Views:	504 
Size:	16.7 KB 
ID:	2042   Click image for larger version. 

Name:	Billing_Address_Message.jpg 
Views:	473 
Size:	10.5 KB 
ID:	2043  

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

    Default Re: Payflow Pro Billing Address Error

    Error 126 suggests that the payflow lib files aren't set up to be eXecutable. You'll need to set the file permissions properly.
    .

    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
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Payflow Pro Billing Address Error

    Quote Originally Posted by DrByte View Post
    Error 126 suggests that the payflow lib files aren't set up to be eXecutable. You'll need to set the file permissions properly.
    I checked the permissions on everything. Everything in the folder was set to allow execution by owner, group, world. I reset them again for good measure.

    I did notice on the order confirmation page that there's a message:
    (NOTE: Module binaries not executable or lib path not found) I sent a picture.



    So if there's a path error, how do I find it? I checked all the modules. Which includes folder does it go in? I did main includes, not admin includes.

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

    Default Re: Payflow Pro Billing Address Error

    DIR_FS_CATALOG is defined in your configure.php files.

    It then attempts to access the files via:
    Code:
              $this->linux_binary = DIR_FS_CATALOG . 'includes/modules/payment/bin/pfpro';
              $this->linux_lib = DIR_FS_CATALOG . 'includes/modules/payment/lib';
    and
    Code:
            putenv("LD_LIBRARY_PATH=".getenv("LD_LIBRARY_PATH").":".$this->linux_lib);
            putenv("PFPRO_CERT_PATH=".MODULE_PAYMENT_PAYFLOWPRO_CERT_PATH);
            $resultcodes=exec($this->linux_binary . ' '.$url. ' 443 "'.$parmList.'" 30  2>&1', $output, $return_value);
    
            // $resultcodes contains any O/S-reported feedback while attempting to execute the pfpro binary
            // $output contains the feedback from the transaction authorization
            // $return_value contains feedback as O/S return code
    What is your DIR_FS_CATALOG setting?
    What folder/path are your lib and bin folders located at ?
    .

    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
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Payflow Pro Billing Address Error

    Quote Originally Posted by DrByte View Post
    DIR_FS_CATALOG is defined in your configure.php files.

    It then attempts to access the files via:
    Code:
              $this->linux_binary = DIR_FS_CATALOG . 'includes/modules/payment/bin/pfpro';
              $this->linux_lib = DIR_FS_CATALOG . 'includes/modules/payment/lib';
    and
    Code:
            putenv("LD_LIBRARY_PATH=".getenv("LD_LIBRARY_PATH").":".$this->linux_lib);
            putenv("PFPRO_CERT_PATH=".MODULE_PAYMENT_PAYFLOWPRO_CERT_PATH);
            $resultcodes=exec($this->linux_binary . ' '.$url. ' 443 "'.$parmList.'" 30  2>&1', $output, $return_value);
    
            // $resultcodes contains any O/S-reported feedback while attempting to execute the pfpro binary
            // $output contains the feedback from the transaction authorization
            // $return_value contains feedback as O/S return code
    What is your DIR_FS_CATALOG setting?
    What folder/path are your lib and bin folders located at ?
    I found a permissions problem in both the bin and lib

    The warnings from Step 3 are gone. But when I click on Confirm, I get sent back to step two with a warning that the Billing address in the system doesn't match the statement address. I am using my own credit card, so I know that the billing address is OK.





    define('DIR_FS_CATALOG', '/www/larryozone/catalog/');

    That appears to be right. That's in the config.php located /admin/includes

    And below is from /includes

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files.

    ('DIR_FS_CATALOG', '/www/larryozone/catalog/');

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

    Default Re: Payflow Pro Billing Address Error

    Without seeing it first-hand, I suspect that the billing-address warning is a misnomer.
    Instead, if you're still getting 126 error results, it might be worth checking your server's errorlog for any specific error codes reported to apache by PHP.
    .

    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.

  7. #7
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Payflow Pro Billing Address Error

    Quote Originally Posted by DrByte View Post
    Without seeing it first-hand, I suspect that the billing-address warning is a misnomer.
    Instead, if you're still getting 126 error results, it might be worth checking your server's errorlog for any specific error codes reported to apache by PHP.
    Here's the only errors I see in the Apache log error_log

    [Sun Jun 3 17:11:24 2007] [error] [client 65.209.17.4] File does not exist: /www/larryozone/catalog/includes/templates/zc_gloss_blue/images/footerbg2.jpg
    [Sun Jun 3 17:11:24 2007] [error] [client 65.209.17.4] File does not exist: /www/larryozone/favicon.ico
    [Sun Jun 3 17:12:14 2007] [error] [client 65.209.17.4] File does not exist: /www/larryozone/catalog/includes/templates/zc_gloss_blue/images/footerbg2.jpg
    [Sun Jun 3 17:12:14 2007] [error] [client 65.209.17.4] File does not exist: /www/larryozone/favicon.ico
    sh: -c: line 1: syntax error near unexpected token `0'
    sh: -c: line 1: `exit(0)'

  8. #8
    Join Date
    Jun 2007
    Location
    Phoenix, AZ
    Posts
    1
    Plugin Contributions
    0

    Default Re: Payflow Pro Billing Address Error

    I haven't seen anyone mention it yet but I ran into big troubles when I tried to use PayPal's SDK on IA_64 (64 bit Intel) Linux. Their program, 'pfpro' and their library, libpfpro.so, are incompatible in 64-bit.

    I spoke to their developers and they have decided to drop the whole thing and just go to a straight HTTPS POST model.

    I have it working now using curl and none of the libraries or binaries from PayPal. Both in Perl and in PHP on my website, including Zen Cart.

    The modifications to the payflowpro.php module were fairly straightforward.
    If someone encourages me, I'll post it back here.

    -fred

  9. #9
    Join Date
    Jun 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: Payflow Pro Billing Address Error

    We are currently using the php pfpro extension to do Payflow Pro transactions, but are about to move to a 64-bit server. Having just discovered that the Payflow Pro SDK doesn't support 64-bit architectures, I was interested to see your note.

    If you would be so kind as to post your payflowpro.php modifications, that would be great!

    Dianne

 

 

Similar Threads

  1. IP Address Changes to Website Payments Pro? Payflow?
    By DaveS in forum PayPal Website Payments Pro support
    Replies: 6
    Last Post: 21 Sep 2011, 06:15 AM
  2. Payflow Pro Error
    By friends1976 in forum Addon Payment Modules
    Replies: 8
    Last Post: 2 Jun 2010, 08:42 PM
  3. Fatal Error in Payflow Pro
    By yktdan in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 27 Feb 2007, 12:13 AM
  4. Fatal Error in Payflow Pro
    By yktdan in forum Addon Payment Modules
    Replies: 2
    Last Post: 26 Feb 2007, 09:04 AM

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