Results 1 to 10 of 214

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Adding Braintree payment module

    Quote Originally Posted by swguy View Post
    Jim, do you maybe have an old copy of this module? The latest one doesn't do that (tested against 1.5.5).
    I am using version 1.3.5. I just tried it again on a test 1.5.5 ZC. It removed all payment modules again. What version are you using?

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,541
    Plugin Contributions
    127

    Default Re: Adding Braintree payment module

    Looks like they broke it. Modify function remove() in includes/modules/payment/braintree_api.php. Replace what's there with this:

    Code:
        function remove() {
            global $db;
    
            $db->Execute("DELETE FROM " . TABLE_CONFIGURATION . " WHERE configuration_key LIKE 'MODULE\_PAYMENT\_BRAINTREE\_%'");
            $this->notify('NOTIFY_PAYMENT_BRAINTREE_UNINSTALLED');
        }
    Please report this issue to the Numinix guys. Thanks.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Adding Braintree payment module

    Quote Originally Posted by swguy View Post
    Looks like they broke it. Modify function remove() in includes/modules/payment/braintree_api.php. Replace what's there with this:

    Code:
        function remove() {
            global $db;
    
            $db->Execute("DELETE FROM " . TABLE_CONFIGURATION . " WHERE configuration_key LIKE 'MODULE\_PAYMENT\_BRAINTREE\_%'");
            $this->notify('NOTIFY_PAYMENT_BRAINTREE_UNINSTALLED');
        }
    Please report this issue to the Numinix guys. Thanks.
    Thanks Scott. I've fixed mu copy and have reported the issue to Numinix.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Adding Braintree payment module

    The version at http://www.zen-cart.com/downloads.php?do=file&id=1781 by bislewl appears to already contain that fix.
    .

    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
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Adding Braintree payment module

    Quote Originally Posted by DrByte View Post
    The version at http://www.zen-cart.com/downloads.php?do=file&id=1781 by bislewl appears to already contain that fix.
    I don't see a version from bislewl at that url.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Adding Braintree payment module

    Sorry, bislewl had posted that link initially. When I downloaded that version yesterday I saw that the remove() function was as thatsoftwareguy just posted.

    Hence my implication that the plugin hosted on zen-cart.com already has that code change.

    Now, maybe Numinix has a different version over on their site, newer or older. With them you've always gotta re-check what they're up to.
    .

    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
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Adding Braintree payment module

    Quote Originally Posted by DrByte View Post
    Sorry, bislewl had posted that link initially. When I downloaded that version yesterday I saw that the remove() function was as thatsoftwareguy just posted.

    Hence my implication that the plugin hosted on zen-cart.com already has that code change.

    Now, maybe Numinix has a different version over on their site, newer or older. With them you've always gotta re-check what they're up to.
    I see. Here's the confusion. The version posted here is 1.3.1 and has the correct remove module code. The version available from the numinix site is 1.3.5, which is the version I was using. That has the incorrect removal code. I'll review the changed between the two versions and see about posted a corrected 'updated' version.

 

 

Similar Threads

  1. v154 BrainTree Payment Module before_process - DP-5 Errors
    By RJR in forum Addon Payment Modules
    Replies: 1
    Last Post: 7 Jan 2016, 10:15 PM
  2. v154 Braintree Payment Module Problems
    By andeza20 in forum Addon Payment Modules
    Replies: 1
    Last Post: 5 Feb 2015, 07:37 AM
  3. Adding an image to a payment module
    By sirluck in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 5 Oct 2007, 06:23 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