Page 3 of 19 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 187
  1. #21
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    Hello,

    I am using the latest version of Braintree 1.1.0. Although, the checkout is working and the transaction is being received and processed at Braintree and the customer receives an order confirmation..., my Zencart Administration orders section does not show the entire order. It does not show anything BELOW the Payment Method line. So I cannot see what was ordered or change the order status.

    All other payment methods work, (PayPal and Money orders)

    I receive an error on the "Order" page that says "WARNING: An Error occurred, please refresh the page and try again."

    So I checked my cache, and It says:
    [18-Dec-2013 15:57:37] PHP Fatal error: 1146:Table 'oskopool_zc1.TABLE_BRAINTREE' doesn't exist :: SELECT * FROM TABLE_BRAINTREE
    WHERE order_id = 1010
    AND parent_txn_id = ''
    LIMIT 1 in /home4/oskopool/public_html/includes/classes/db/mysql/query_factory.php on line 101


    But my database does have the file and it is called Braintree.., not zen_Braintree or table_braintree.

    Does anyone have any ideas?

    Thanks,
    Danny
    Daniel Osko

  2. #22
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Adding Braintree payment module

    sounds like your missing your

    catalog/includes/extra_datafiles/braintree_api.php file, do you have that file?

  3. #23
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    Yes, The file is there. Here is what it says:

    <?php
    define('TABLE_BRAINTREE', DB_PREFIX . 'braintree');


    I am also receiving the following email notice every time that I attempt to look at any order which was processed via Braintree:

    braintree_api
    Module disabled because SSL is not enabled on this site.


    But, SSL has always been enabled on the websites checkout pages and I just enabled SSL in my configure.php file for the Admin area.

    Any other thoughts?

    Thanks,
    Danny
    Daniel Osko

  4. #24
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    Still can't figure this out. In my
    includes/modules/payment/braintree_api.php
    , This seams to be the area of the code that is preventing me from seeing the complete customer order in my Zencart Admin panel:

    function update_status() {
    global $order, $db;

    // if store is not running in SSL, cannot offer credit card module, for PCI reasons
    if(!defined('ENABLE_SSL') || ENABLE_SSL != 'true') {
    $this->enabled = FALSE;
    $this->zcLog('update_status', 'Module disabled because SSL is not enabled on this site.');
    }


    Any Thoughts, Anyone?

    Thank You,
    Danny
    Daniel Osko

  5. #25
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Adding Braintree payment module

    please confirm that your ADMIN/includes/configure.php looks like this (change the directory/domains etc

    PHP Code:
    /**
     * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
     * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
     */
      
    define('HTTP_SERVER''https://www.zencartstore.com');
      
    define('HTTPS_SERVER''https://www.zencartstore.com');
      
    define('HTTP_CATALOG_SERVER''https://www.zencartstore.com');
      
    define('HTTPS_CATALOG_SERVER''https://www.zencartstore.com');

      
    // secure webserver for admin?  Valid choices are 'true' or 'false' (including quotes).
      
    define('ENABLE_SSL_ADMIN''true');

      
    // secure webserver for storefront?  Valid choices are 'true' or 'false' (including quotes).
      
    define('ENABLE_SSL_CATALOG''true'); 

  6. #26
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    Thanks for your reply, I really appreciate it.

    However, I changed the configure file as you suggested, and I am still getting the same error.

    Any other ideas?

    Thanks,
    Danny
    Daniel Osko

  7. #27
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Adding Braintree payment module

    Not sure if it is what I'm thinking but can you should have changed it in the
    CATALOG/includes/configure.php
    (remember you usually have to change the permissions to save it to the server and then set it back.)

  8. #28
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    Thanks Again, but I'm still having the same problem.

    Same two errors:

    From my email:
    braintree_api
    Module disabled because SSL is not enabled on this site.


    From my cache:
    [19-Dec-2013 10:28:38] PHP Fatal error: 1146:Table 'oskopool_zc1.TABLE_BRAINTREE' doesn't exist :: SELECT * FROM TABLE_BRAINTREE
    WHERE order_id = 1010
    AND parent_txn_id = ''
    LIMIT 1 in /home4/oskopool/public_html/includes/classes/db/mysql/query_factory.php on line 101


    My /includes/configure.php permissions are set to 444
    and
    My ADMIN/includes/configure.php permissions are set to 664

    But yet Braintree is receiving all the orders, the customer gets their email, I can see their orders on the main orders page in my Zencart admin:

    Click image for larger version. 

Name:	orders_page.jpg 
Views:	191 
Size:	28.1 KB 
ID:	13576

    I can also click on "Invoice" or "Packing Slip" and see all of the information. But when I click on the GREEN CIRCLED "e" or click "Edit", I get this:

    Click image for larger version. 

Name:	edit_order.jpg 
Views:	185 
Size:	24.7 KB 
ID:	13578
    Totally confused now. PayPal and Money Order options seem to work without any errors.

    Thanks for any advice,
    Danny
    Daniel Osko

  9. #29
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Adding Braintree payment module

    ok, lets try, this...

    taking this file:
    catalog/includes/extra_datafiles/braintree_api.php

    and also putting it here:

    catalog/ADMIN/includes/extra_datafiles/braintree_api.php

  10. #30
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Adding Braintree payment module

    Tried it, but it had no effect.

    I figure, if the other payment options work..., it's probably the Braintree code?

    Thanks,
    Danny
    Daniel Osko

 

 
Page 3 of 19 FirstFirst 1234513 ... 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