Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29
  1. #21
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: bluepay intergration

    Quote Originally Posted by Lackew View Post
    There are only about 5 bluepay files (2duplicates?) ...
    here are the files/names
    /blupay_process.php
    \includes\languages\english\modules\payment\bluepay2.php
    \includes\functions\html_output.php
    \includes\modules\pages\checkout_payment\jscript_blupay_cvv.php
    \includes\modules\payment\blupay2.php
    Those 2 files with the same "name" are NOT duplicates.
    They have the same name, but VERY different content.
    If you mix them up, you'll get errors.
    .

    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. #22
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: bluepay intergration

    gotcha
    so the rewrite was for \includes\languages\english\modules\payment\bluepay2.php ???
    this was the one I edited
    blessed be the day we make tomorrow a better yesterday

  3. #23
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: bluepay intergration

    No. The edits were for the module itself, not the language file.
    The file you just mentioned is the LANGUAGE file ... note the "/languages/english/" part in the filename path. ALL that file should contain is a bunch of "define" statements.
    .

    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. #24
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: bluepay intergration

    Quote Originally Posted by Lackew View Post
    must be having a brain freeze cause I cant find what you referenced Sensei. There are only about 5 bluepay files (2duplicates?) and found nothing with 'header' relating to errors/messages
    here are the files/names /bluepay_process.php
    \includes\languages\english\modules\payment\bluepay2.php
    \includes\functions\html_output.php
    \includes\modules\pages\checkout_payment\jscript_blupay_cvv.php
    \includes\modules\payment\blupay2.php
    this is what I have in the highlighted file
    HTML Code:
    ('MODULE_PAYMENT_BLUEPAY2_TEXT_JS_CC_NUMBER', '* The credit card number must be at least ' . CC_NUMBER_MIN_LENGTH . ' characters.\n');
      define('MODULE_PAYMENT_BLUEPAY2_TEXT_JS_CC_CVV', '* You must enter the 3 or 4 digit number on the back of your credit card\n');
      define('MODULE_PAYMENT_BLUEPAY2_TEXT_ERROR_MESSAGE', 'There has been an error processing you credit card, please try again.');
      define('MODULE_PAYMENT_BLUEPAY2_TEXT_ERROR_DECLINE', 'Your credit card has been declined - please select another payment option');
      define('MODULE_PAYMENT_BLUEPAY2_TEXT_ERROR', 'Oops - there was an error please check your card details');
    ?>
    \includes\languages\english\modules\payment\bluepay2.php is the file I applied the rewrite
    blessed be the day we make tomorrow a better yesterday

  5. #25
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: bluepay intergration

    You've got the files backwards, and they're incomplete.

    Delete them all and start again.
    .

    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. #26
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: bluepay intergration

    ok deleted everthing and uploaded again....
    no changes noted (strange that all the tests buys showed in my bluepay back office)
    now about to redo the rewrites

    clear now I dont know what I am doing yet last night I was looking at some codes that perhaps may help achieve my goal?
    Code:
    $messageStack->add_session('checkout_payment', $error . '<!-- ['.$this->code.'] -->', 'error');
          zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, $payment_error_return, 'SSL', true, false));
        }
    and
    HTML Code:
    function get_error() 
      {
        global $_GET;
    
        $error = array('title' => MODULE_PAYMENT_BLUEPAY2_TEXT_ERROR,
                       'error' => stripslashes(urldecode($_GET['error'])));
    
        return $error;
      }
    blessed be the day we make tomorrow a better yesterday

  7. #27
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: bluepay intergration

    Two options:

    1. Do the edits I described earlier: http://www.zen-cart.com/forum/showpo...7&postcount=10
    2. Or use the newer module you uploaded here: http://www.zen-cart.com/index.php?ma...oducts_id=1447
    .

    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.

  8. #28
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: bluepay intergration

    now the rewrites draw a blank page
    I corrected an typo I made
    all is ok
    but no effect on error messages
    Last edited by Lackew; 14 Nov 2009 at 07:53 PM.
    blessed be the day we make tomorrow a better yesterday

  9. #29
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: bluepay intergration

    I finally figured out what has happened. I didnt know that I had 2 versions. I downloaded directly from my backoffice and installed an old mod.
    Then I was emailed the new mod and thought (assumed) it was the same.
    So I deleted the old Again and installed the new mod and everything is working great - Including the error messages are showing where I wanted!
    Thank You for your time for if it werent for you Senei I would have never caught my mistake!!!!
    blessed be the day we make tomorrow a better yesterday

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. BluePay module?
    By dan182skater in forum Addon Payment Modules
    Replies: 8
    Last Post: 18 Nov 2010, 02:16 AM
  2. Bluepay Gateway 2.0
    By mbaigBP in forum Addon Payment Modules
    Replies: 1
    Last Post: 18 Nov 2010, 02:12 AM
  3. Lost BluePay Order
    By Bella_Ana in forum General Questions
    Replies: 2
    Last Post: 27 Oct 2008, 05:48 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