Page 17 of 19 FirstFirst ... 71516171819 LastLast
Results 161 to 170 of 187
  1. #161
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    Quote Originally Posted by marton_1 View Post
    I used to use Braintree but stopped it due to problems with Mastercard payments. I switched to Stripe but it has not been updated to handle the new EU PSD2 requirements so I cannot use Stripe any more.
    I see the Braintree module has been updated since but it is not stated what has been fixed/changed. Is PSD2 supported?
    Just heard that the PSD2 deadline has been pushed out from 14 September 2019 to March 2021, set by the Financial Conduct Authority.
    Anyway my Stripe payment module does not work anymore so I would like to know what was fixed in Braintree with the last update.

  2. #162
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    Quote Originally Posted by marton_1 View Post
    Just heard that the PSD2 deadline has been pushed out from 14 September 2019 to March 2021, set by the Financial Conduct Authority.
    Anyway my Stripe payment module does not work anymore so I would like to know what was fixed in Braintree with the last update.
    Seems the PSD2 deadline that has been pushed out from 14 September 2019 to March 2021 is only for the UK.
    What a mess this is.....

  3. #163
    Join Date
    Feb 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    why isnt braintree working?
    I put in all the necessary info...
    www.candygoround.com

  4. #164
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    I see the plugin was updated in October but "Strong Customer Authentication" is not mentioned so I suppose it is not supported?

  5. #165
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Adding Braintree payment module

    Zen cart 1.5.6 PHP7.3
    I have just uploaded the latest version of the plugin Braintree API https://www.zen-cart.com/downloads.php?do=file&id=1781 . There a lot of PHP errors relating to PHP Warning: Use of undefined constant in includes/modules/payment/braintree_api.php
    Lines 39; 45; 71; 72; 74; 76;80
    I suspect there probably more.
    Can anyone suggest best way to fix
    Thanks


  6. #166
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Adding Braintree payment module

    Quote Originally Posted by ianhg View Post
    Zen cart 1.5.6 PHP7.3
    I have just uploaded the latest version of the plugin Braintree API https://www.zen-cart.com/downloads.php?do=file&id=1781 . There a lot of PHP errors relating to PHP Warning: Use of undefined constant in includes/modules/payment/braintree_api.php
    Lines 39; 45; 71; 72; 74; 76;80
    I suspect there probably more.
    Can anyone suggest best way to fix
    Thanks

    I seem to resolved a couple but am still getting the following:

    [14-Dec-2020 16:40:16 UTC] Request URI: /ADMIN/modules.php?set=payment&module=braintree_api, IP address:
    #1 braintree_api->__construct() called at [/var/www/vhosts/domain/httpdocs/ADMIN/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_BRAINTREE_VERSION - assumed 'MODULE_PAYMENT_BRAINTREE_VERSION' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/includes/modules/payment/braintree_api.php on line 45.


    [14-Dec-2020 16:40:16 UTC] Request URI: /ADMIN/modules.php?set=payment&module=braintree_api, IP address:
    #1 braintree_api->__construct() called at [/var/www/vhosts/domain/httpdocs/ADMIN/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_BRAINTREE_DEBUGGING - assumed 'MODULE_PAYMENT_BRAINTREE_DEBUGGING' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/includes/modules/payment/braintree_api.php on line 71.


    [14-Dec-2020 16:40:16 UTC] Request URI: /ADMIN/modules.php?set=payment&module=braintree_api, IP address:
    #1 braintree_api->__construct() called at [/var/www/vhosts/domain/httpdocs/ADMIN/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_BRAINTREE_DEBUGGING - assumed 'MODULE_PAYMENT_BRAINTREE_DEBUGGING' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/includes/modules/payment/braintree_api.php on line 71.


    [14-Dec-2020 16:40:16 UTC] Request URI: /ADMIN/modules.php?set=payment&module=braintree_api, IP address:
    #1 braintree_api->__construct() called at [/var/www/vhosts/domain/httpdocs/ADMIN/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_BRAINTREE_DEBUGGING - assumed 'MODULE_PAYMENT_BRAINTREE_DEBUGGING' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/includes/modules/payment/braintree_api.php on line 72.


    PHP Code:
     function __construct() {
            include_once(
    zen_get_file_directory(DIR_FS_CATALOG DIR_WS_LANGUAGES $_SESSION['language'] . '/modules/payment/''braintree_api.php''false'));        global $order;
            
    $this->code 'braintree_api';        $this->title MODULE_PAYMENT_BRAINTREE_TEXT_ADMIN_TITLE;        $this->codeVersion = (defined('MODULE_PAYMENT_BRAINTREE_VERSION')) ? MODULE_PAYMENT_BRAINTREE_VERSION false;        $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 (IS_ADMIN_FLAG === true) {            if (file_exists(DIR_FS_CATALOG . DIR_WS_FUNCTIONS . 'plugin_support.php')) {                require_once(DIR_FS_CATALOG . DIR_WS_FUNCTIONS . 'plugin_support.php');                $new_version_details = plugin_version_check_for_updates(1781,  MODULE_PAYMENT_BRAINTREE_VERSION);                if ($new_version_details !== FALSE) {                    $this->title .= '<span class="alert">' . ' - NOTE: A NEW VERSION OF THIS PLUGIN IS AVAILABLE. <a href="' . $new_version_details['link'] . '" target="_blank">[Details]</a>' . '</span>';                }            }            $this->description = sprintf(MODULE_PAYMENT_BRAINTREE_TEXT_ADMIN_DESCRIPTION, ($this->codeVersion) ? ' (rev' . $this->codeVersion . ')': '');            $this->title = MODULE_PAYMENT_BRAINTREE_TEXT_ADMIN_TITLE;
                
    if ($this->enabled) {
                    if (
    MODULE_PAYMENT_BRAINTREE_SERVER == 'sandbox')                    $this->title .= '<strong><span class="alert"> (sandbox active)</span></strong>';                if   (MODULE_PAYMENT_BRAINTREE_DEBUGGING == 'Log File' || MODULE_PAYMENT_BRAINTREE_DEBUGGING == 'Log and Email')                    $this->title .= '<strong> (Debug)</strong>';                if (!function_exists('curl_init'))                    $this->title .= '<strong><span class="alert"> CURL NOT FOUND. Cannot Use.</span></strong>';            }        } else {
                
    $this->description MODULE_PAYMENT_BRAINTREE_TEXT_DESCRIPTION;            $this->title MODULE_PAYMENT_BRAINTREE_TEXT_TITLE//cc        }
            
    if ((!defined('BRAINTREE_OVERRIDE_CURL_WARNING') || (defined('BRAINTREE_OVERRIDE_CURL_WARNING') && BRAINTREE_OVERRIDE_CURL_WARNING != 'True')) && !function_exists('curl_init'))            $this->enabled false;
            
    $this->enableDebugging = (MODULE_PAYMENT_BRAINTREE_DEBUGGING == 'Log File' || MODULE_PAYMENT_BRAINTREE_DEBUGGING == 'Log and Email');        $this->emailAlerts = (MODULE_PAYMENT_BRAINTREE_DEBUGGING == 'Log and Email');        $this->sort_order = (defined('MODULE_PAYMENT_BRAINTREE_SORT_ORDER')) ? MODULE_PAYMENT_BRAINTREE_SORT_ORDER null;        $this->order_pending_status = (defined('MODULE_PAYMENT_BRAINTREE_ORDER_PENDING_STATUS_ID')) && MODULE_PAYMENT_BRAINTREE_ORDER_PENDING_STATUS_ID;
            if (
    defined('MODULE_PAYMENT_BRAINTREE_ORDER_STATUS_ID') && (int) MODULE_PAYMENT_BRAINTREE_ORDER_STATUS_ID 0) {            $this->order_status MODULE_PAYMENT_BRAINTREE_ORDER_STATUS_ID;        }
            
    $this->zone = (defined('MODULE_PAYMENT_BRAINTREE_ZONE')) && (int) MODULE_PAYMENT_BRAINTREE_ZONE;
            if (
    is_object($order))            $this->update_status();
            if (!(
    PROJECT_VERSION_MAJOR || (PROJECT_VERSION_MAJOR == && substr(PROJECT_VERSION_MINOR03) >= 5)))            $this->enabled false
    Suggestions welcome thanks

  7. #167
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    Default Re: Adding Braintree payment module

    ian,
    have you tried un-installing and reinstalling the module?

    if you are still having errors, have you looked at your ZC configuration table for these config values? if MODULE_PAYMENT_BRAINTREE_VERSION is not in the configuration table, that's a problem that this is complaining about.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #168
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Adding Braintree payment module

    Quote Originally Posted by carlwhat View Post
    ian,
    have you tried un-installing and reinstalling the module?

    if you are still having errors, have you looked at your ZC configuration table for these config values? if MODULE_PAYMENT_BRAINTREE_VERSION is not in the configuration table, that's a problem that this is complaining about.

    best.
    Yes tried un-installing and reinstalled same PHP warnings
    Any ideas on the MODULE_PAYMENT_BRAINTREE_DEBUGGING
    Thanks for a speedy response.

  9. #169
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    Default Re: Adding Braintree payment module

    Quote Originally Posted by ianhg View Post
    Yes tried un-installing and reinstalled same PHP warnings
    Any ideas on the MODULE_PAYMENT_BRAINTREE_DEBUGGING
    Thanks for a speedy response.
    have you looked at the configuration table using phpMyAdmin (or some other tool)? specifically what does:

    Code:
    SELECT *
    FROM `configuration`
    WHERE `configuration_key` LIKE '%BRAINTREE%'
    result in? (please change the table name to include a prefix if you have one.)

    also have you defined:

    MODULE_PAYMENT_BRAINTREE_STATUS

    somewhere in your code? that could cause you to not install all of these config values.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #170
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Adding Braintree payment module

    Quote Originally Posted by carlwhat View Post
    have you looked at the configuration table using phpMyAdmin (or some other tool)? specifically what does:

    Code:
    SELECT *
    FROM `configuration`
    WHERE `configuration_key` LIKE '%BRAINTREE%'
    result in? (please change the table name to include a prefix if you have one.)

    also have you defined:

    MODULE_PAYMENT_BRAINTREE_STATUS

    somewhere in your code? that could cause you to not install all of these config values.
    Hi Carl
    Yes DATABASE shows MODULE_PAYMENT_BRAINTREE_STATUS and MODULE_PAYMENT_BRAINTREE_DEBUUGING also MODULE_PAYMENT_BRAINTREE_VERSION
    It just keep throwing the PHP errors
    [14-Dec-2020 16:40:16 UTC] Request URI: /ADMIN/modules.php?set=payment&module=braintree_api, IP address:
    #1 braintree_api->__construct() called at [/var/www/vhosts/domain/httpdocs/ADMIN/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_BRAINTREE_VERSION - assumed 'MODULE_PAYMENT_BRAINTREE_VERSION' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/includes/modules/payment/braintree_api.php on line 45.


    [14-Dec-2020 16:40:16 UTC] Request URI: /ADMIN/modules.php?set=payment&module=braintree_api, IP address:
    #1 braintree_api->__construct() called at [/var/www/vhosts/domain/httpdocs/ADMIN/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_BRAINTREE_DEBUGGING - assumed 'MODULE_PAYMENT_BRAINTREE_DEBUGGING' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/includes/modules/payment/braintree_api.php on line 71.


    [14-Dec-2020 16:40:16 UTC] Request URI: /ADMIN/modules.php?set=payment&module=braintree_api, IP address:
    #1 braintree_api->__construct() called at [/var/www/vhosts/domain/httpdocs/ADMIN/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_BRAINTREE_DEBUGGING - assumed 'MODULE_PAYMENT_BRAINTREE_DEBUGGING' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/includes/modules/payment/braintree_api.php on line 71.


    [14-Dec-2020 16:40:16 UTC] Request URI: /ADMIN/modules.php?set=payment&module=braintree_api, IP address:
    #1 braintree_api->__construct() called at [/var/www/vhosts/domain/httpdocs/ADMIN/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_BRAINTREE_DEBUGGING - assumed 'MODULE_PAYMENT_BRAINTREE_DEBUGGING' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/includes/modules/payment/braintree_api.php on line 72.


    There were others but I managed to fix them.
    LIne 80 $this->zone = (defined('MODULE_PAYMENT_BRAINTREE_ZONE')) && (int) MODULE_PAYMENT_BRAINTREE_ZONE;
    was $this->zone = (int) MODULE_PAYMENT_BRAINTREE_ZONE;I tried fixing the above but without any luck.. Thanks again for your time appreciated

 

 
Page 17 of 19 FirstFirst ... 71516171819 LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR