Results 1 to 10 of 214

Threaded View

  1. #25
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Adding Braintree payment module

    ian,
    are u using the latest version? or have you modified some of the code? my line numbers do not match to yours.

    in the __ construct function, you can try changing a couple of lines to:

    PHP Code:
    $this->enabled defined('MODULE_PAYMENT_BRAINTREE_STATUS') && (MODULE_PAYMENT_BRAINTREE_STATUS == 'True');

    // Set the title & description text based on the mode we're in
    if ($this->enabled && IS_ADMIN_FLAG === true) { 
    that may help you out.
    Last edited by carlwhat; 14 Dec 2020 at 09:22 PM.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

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