Results 1 to 10 of 214

Hybrid View

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

    Default Re: Adding Braintree payment module

    Hello Everyone,

    Although this module was working with my Zen Cart 1.5.0, it is not working with Zen Cart 1.5.4 installation.

    I am using Zen Cart ver. 1.5.4 and Braintree 1.3.1 and the Winchester Black theme...., Since my database does not have any Prefix's, I have changed both files under includes/extra_datafiles/braintree_api.php AND admin/includes/extra_datafiles/braintree_api.php to:

    Code:
    <?php
    	define('TABLE_BRAINTREE', 'braintree');
    PROBLEM 1: After filing out ALL of the Credit Card info on the Step 2 of 4 - Payments page, and I click on CONTINUE..., the page does not change or go to the Step 3 of 4.... page..., it just stays the same. However, the pages "tab" changes to Step 3 of 4.....

    PROBLEM 2: If I miss filling out a field in the Credit Card info on the Step 2 of 4 - Payments page, and I click on CONTINUE..., the "pop-up" does tell me that I have to correct something..., and the error is highlighted in red near the incorrect input field..., and the highlighted in red message tells me what is wrong. But no matter how many times I correct the input field..., the highlighted red message remains and is duplicated and added onto the first message. (Below I have pressed CONTINUE 3 times without a card number)

    Click image for larger version. 

Name:	Payment Method.JPG 
Views:	112 
Size:	57.5 KB 
ID:	15878

    Also, in my Zen Cart admin panel under "Modules/Payment or/Shipping or/Order Total" the page title says "Flexible Footer Menu"??? I don't think that this is causing any problems, but I'm not sure??

    Click image for larger version. 

Name:	Payment Modules.jpg 
Views:	94 
Size:	22.4 KB 
ID:	15879

    Any thoughts or suggestions???
    Thanks,
    Danny
    Daniel Osko

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

    Default Re: Adding Braintree payment module

    Quote Originally Posted by danielosko View Post
    Hello Everyone,

    Although this module was working with my Zen Cart 1.5.0, it is not working with Zen Cart 1.5.4 installation.

    I am using Zen Cart ver. 1.5.4 and Braintree 1.3.1 and the Winchester Black theme...., Since my database does not have any Prefix's, I have changed both files under includes/extra_datafiles/braintree_api.php AND admin/includes/extra_datafiles/braintree_api.php to:

    Code:
    <?php
    	define('TABLE_BRAINTREE', 'braintree');
    PROBLEM 1: After filing out ALL of the Credit Card info on the Step 2 of 4 - Payments page, and I click on CONTINUE..., the page does not change or go to the Step 3 of 4.... page..., it just stays the same. However, the pages "tab" changes to Step 3 of 4.....

    PROBLEM 2: If I miss filling out a field in the Credit Card info on the Step 2 of 4 - Payments page, and I click on CONTINUE..., the "pop-up" does tell me that I have to correct something..., and the error is highlighted in red near the incorrect input field..., and the highlighted in red message tells me what is wrong. But no matter how many times I correct the input field..., the highlighted red message remains and is duplicated and added onto the first message. (Below I have pressed CONTINUE 3 times without a card number)

    Click image for larger version. 

Name:	Payment Method.JPG 
Views:	112 
Size:	57.5 KB 
ID:	15878

    Also, in my Zen Cart admin panel under "Modules/Payment or/Shipping or/Order Total" the page title says "Flexible Footer Menu"??? I don't think that this is causing any problems, but I'm not sure??

    Click image for larger version. 

Name:	Payment Modules.jpg 
Views:	94 
Size:	22.4 KB 
ID:	15879

    Any thoughts or suggestions???
    Thanks,
    Danny
    Danny,

    You shouldn't need to remove the DB_PREFIX as that should be defined in both your configure.php files.

    Please check your database and verify that the table called "braintree" exist and NOT "TABLE_BRAINTEE"

    Additionally the Flexible Footer Menu title is actually an issue I have experienced with various templates, despite it being annoying it actually isn't harmful (at least from experience)

  3. #3
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Adding Braintree payment module

    Quote Originally Posted by bislewl View Post
    Additionally the Flexible Footer Menu title is actually an issue I have experienced with various templates, despite it being annoying it actually isn't harmful (at least from experience)
    It is not harmful, it is just a case of placing the defines in the wrong language file. This will be fixed in the next release of FFM.

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

    Default Re: Adding Braintree payment module

    Well, the database file did say "braintree" without any prefix.

    But just to be safe, I uninstalled the braintree plugin, deleted the SQL file, deleted all braintree files on the server, confirmed that braintree was no longer an option in my admin panels' payment options, reinstalled the entire braintree plugin, did NOT remove the "DB_PREFIX code" from the in my configure files, re-installed braintree from my admin panels' payment options, confirmed that a database file called braintree was created, filled out all of my "sandbox" info and id's and keys, logged into the website and tried to place an order, and the EXACT SAME THING HAPPENED.

    I am stupefied! I already lost three sales in three days because the customers do not want to use PayPal.

    Any thoughts? Could it have anything to do with myStep 2 of 4 or Step 3 of 4 pages coding?

    ANY help is appreciated,
    Thanks,
    Danny
    Daniel Osko

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

    Default Re: Adding Braintree payment module

    After thought..., this is why I hate upgrading or re-installing newer Zen Cart releases. (I've been using it since 2008) Anyway, there is ALWAYS something screwed up! lol And by the time you get them corrected..., there's another new release! I wish that I could spend more time on adding products rather than attempting to fix the damn cart.

    It took four months to "tweak" 1.5.4, the black Winchester template, all of the CSS, graphics, and install the plugins on my home server before I was satisfied with the look and functions and uploaded it all to my website. Although, I still have to "tweak" some more CSS files so that the site is correctly viewed on all mobile devices..., I never expected one of the main components..., the ability to actually process credit cards..., to fail. And because of this, I have already spent three days trying to fix it, instead of correcting the mobile devices displays and other alignment problems.

    Please forgive me for the "rant", but I am disgusted, disillusioned, and desperate! lol
    Danny
    Daniel Osko

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

    Default Re: Adding Braintree payment module

    Can the inability of braintree to go beyond the Step 2 of 4 page have anything to do with Ajax? If so what and where?

    Still stuck,
    Danny
    Daniel Osko

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

    Default Re: Adding Braintree payment module

    Well after five days, I found the problem myself.

    In order for Braintree 1.3.1 to work with Zen Cart 1.5.4...., The Ajax.php file must be changed as described in this November 2015 update located at:

    https://www.zen-cart.com/showthread....-November-2015

    Funny no one mentioned this? Anyway it is working in my "Sandbox" mode. I'll post an update when I find out if it works with the "Production" mode.

    Merry Christmas Everyone!
    Danny
    Daniel Osko

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

    Default Re: Adding Braintree payment module

    Yep, it now works in the "Production" mode as well!

    Yea!!! "It's the little things that kill ya" lol

    Happy Holidays,
    Danny
    Daniel Osko

 

 

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