Hello,
Can someone please help me configure Braintree as my payment module?
Thank you!
http://www.zen-cart.com/downloads.php?do=file&id=1781
Printable View
Hello,
Can someone please help me configure Braintree as my payment module?
Thank you!
http://www.zen-cart.com/downloads.php?do=file&id=1781
You may need to contact the vendor of this payment module for assistance.
Hello,
Has any progress been made for zencart module for braintree payment solution....
I need to install Braintree in my store!
Please PM me if you haven't found it
Has anyone got an idea if anyone is working on an add on for BrainTree?
I have been using the Numinix.com mod for about 3 months now and it's working well. The biggest item to remember is as with any zencart store you should have an SSL.
Has anyone had success with the Braintree module? I cannot get it to work.
As previously mentioned I have been using the module without issue. Numinix has submitted the mod to zen-cart.com plugins, so hopefully it will be approved shortly and we can get a support thread going.
Here is a link to the plugin:
http://www.zen-cart.com/downloads.php?do=file&id=1781
I have not been able to get this to work...I've gotten it installed to where I can select it in the admin as my payment module...however, submitting payments just keeps refreshing the page without letting me fully checkout. Any suggestions or help would be greatly appreciated.
Try downloading the most recent version of 1.1.0 I don't know if it has been approved for posting on the forum yet. Also please make sure you have a valid SSL and your site is set up to use such.
I am using the latest version. I have an SSL, and everything is working fine on the site. I had Google Checkout working flawlessly until they discontinued support of it last month. I've moved to Braintree. Everything appears to be working from the perspective of the module showing in the admin side. When I go to checkout on the customer facing site, I get all the way to step 2 of 3 where Braintree collects payment information for my credit card. The form submit does nothing when I click on continue checkout and just reloads the page to where I'm stuck on step 2 of 3.
Sounds like either you might be using an old version (the plugin on this forum is an older version, a new version is pending approval, so you may need to download the more recent version from the authors website) or the API credentials is incorrect, or something because it should give you an error, have you checked your logs/ or cache/ folders for errors?
Thank you for the quick responses. I'm using V 1.0.1, and I see they are on 1.1. I'm also seeing a few errors to investigate. I will try to upgrade to the latest version and then check for errors before reporting back. Thanks again for the quick and helpful responses!
I removed 1.0.1 and installed 1.1. I also cleaned up the errors in the logs by completely removing the old Google Checkout changes. I'm still having the same problems with the module. At step 2 of 3 where I fill in my CC info, it just reloads the page whenever I try to Continue Checkout. When I inspect element on the continue checkout button, it says:
<input type="image" src="includes/templates/template_default/buttons/english/button_continue_checkout.gif" alt="Continue" title=" Continue " onclick="submitFunction(0.00,102)">
My cart has $102.00 in it so I assume that is what is being passed in the submit. However, it does not advance me to the next step. I'm completely out of ideas. Are the database scripts that need to be run that aren't in the instructions? It almost seemed too easy to install, and something definitely seems to be missing.
Wanted to provide an update. I was able to get this working. If anyone else experiences this issue, it was the result of using a Discover card when Discover wasn't set up as a valid credit card in configuration / credit cards.
I get error message "There was a problem processing your order" on confirmation page of braintree payments. A professional software engineer installed the module and all my api and merchant keys are double checked and correct. So this module is not working for my site! Version ZC 1.5.1.
are you using v1.1.0 ? also if everything is set up you should be able to get error logs every time there is an error processing, (declined card, wrong CSV,...etc). are you getting any errors via email or in the logs or cache folders?
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
sounds like your missing your
catalog/includes/extra_datafiles/braintree_api.php file, do you have that file?
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
Still can't figure this out. In my, This seams to be the area of the code that is preventing me from seeing the complete customer order in my Zencart Admin panel:Quote:
includes/modules/payment/braintree_api.php
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
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');
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
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.)
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:
Attachment 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:
Attachment 13578
Totally confused now. PayPal and Money Order options seem to work without any errors.
Thanks for any advice,
Danny
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
Tried it, but it had no effect.
I figure, if the other payment options work..., it's probably the Braintree code?
Thanks,
Danny
Hello Larry,
I PM'd you the FTP info. THANKS!
Anyway, I am also wondering if the problem is within the step 3 of 3 in the checkout process.
Attachment 13586
(Since, my EDIT the customer order page only shows information down to and including the Card Expiration Date and nothing else below that).
It's has been my experience that errors like this are usually caused by one dumb mistake that the user has caused.., but I just can't see it.:blush:
Thanks again,
Danny
Hello Larry,
I set up an unique ftp account for you and sent you the FTP information for my website two days ago and I have not heard from you since. I hope everything is ok.
Anyway, I do not feel comfortable allowing this FTP account enabled and open since you haven't replied to my PM's. So, I've deleted the FTP user account.
If you can find time to take a look at the code, please let me know and I will set up another user account.
Thanks,
Danny
Sorry I'v been outta town, I'll be back in a few days
Hi Larry,
Don't know if your back in town yet, but I discovered the following:
The Braintree Plugin is writing all information to the data base under the file name: braintree
But when you try to edit an order in the Zencart admin panel, it is looking for all information from the data base under the file name: TABLE_BRAINTREE
(neither have the zen_)
I know this because I created a new data file called TABLE_BRAINTREE in my SQL database and now I CAN edit the order in my Zencart admin panel. However, I still get the errors in my cache folder and in my email notification. I also do not know if this plugin will now work with both the braintree and TABLE_BRAINTREE data files.
I guess I'll know more when another order is placed.
Danny
:wacko:
Hi All,
Well, I have another order and the statements in my last posting are still true.
Any Ideas? Anyone?
Thanks,
Danny
ok I have updated the module so versions 1.1.1 and forward should be correct but you may need to make a small change to the includes/extra_datafiles/braintree_api.php file for older installations.
change:
to:PHP Code:
define('TABLE_BRAINTREE', DB_PREFIX . 'braintree');
This is because it looks like the table 'braintree' was coded into the module, rather the TABLE_BRAINTREE.PHP Code:
define('TABLE_BRAINTREE', 'braintree');
If that doesn't then try adding that file to your admin/includes/extra_datafiles/
Please let us know so we can help others.
Hello Larry,
THANK YOU!!!!
I replaced the code, as you directed, in the includes/extra_datafiles/braintree_api.php file and also added the same file ini the admin/includes/extra_datafiles/braintree_api.php
I also DELETED the TABLE_BRAINTREE file in the SQL database and left only the braintree file.
I can now see all of the "EDIT" orders info in my Zencart Admin panel and I am no longer seeing an error in my FTP's cache file! YEAH!!
Attachment 13627
The only error I now receive is via email:
braintree_api
Module disabled because SSL is not enabled on this site.
However, I am not to concerned so long as I do not have any future problems with PCI compliancy.
I'll give an update after the next order.
Thanks a Million!
Danny
In both your config.php files make sure you have https and SSL set to true
They are both set correctly.
Could this be happening because I am have the Braintree Payment Module set to DEBUG in my Zencart Admin Panel?
Danny
It's been added to the plugins on Zen Cart. Does that mean there is now a support thread? Because I need one!
This seems to be the best place for Braintree answers.
Can someone help me with braintree 1.1.0 ? I am using Zen Cart 1.3.8a. I have SSL installed and the pay pal express payment module ,which works fine.
I recently tried to install braintree 1.10 after learning it was a Google checkout alternative. I copied it to my site directory via filezilla. I go to my payment modules and install it. I then enter my keys from my newly created braintree account. And then.. nothing .. am i missing something ? I don't see any of the buttons for it in my checkout. PayPal is there.. but no braintree. I will admit there has been a very long time since i installed anything. But what else do i need to do so my customers can use it ? Please help.
My website is
missingcord.com
my host is
dreamhost.
php version is 5.2
I installed my version of zencart from a fast install with dreamhost.
I am using a modified version of the classic template
My Database: MySQL 5.1.56-log
Try this:
Go into your includes/configure.php and ADMIN/includes/configure.php files and make sure you have the SSL turn on...if done correctly when you click login it should go to https, also it looks like your certificate was good from 9/17/2011 -> 9/17/2012. So you may need a new certificate or your new one installed (this also means you need a dedicated IP, dreamhost is around $5/month)
Does that help?
Thanks,
Larry
Will try it out now, thank you so much for your fast reply. I hope i am smart enough to get this sorted out with your directions :)
Hello,
I went to dreamhost and have requested a updated SSL , they say its on order. I also went to add a dedicated IP, they are giving me a IPv6 for free . Will be back as soon as all that is setup. Thank you so much for your help. I will try to keep up . Its funny how you can have everything up and working and then not mess with it for a long time , only to find you have forgotten how to tinker with it.
Alright SSL is setup with dreamhost. I already have a dedicated IP from dreamhost it seems.
I set enable SSL in both configure.php files and i now get this message when i go to admin veiw
Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/prissweb/MISSINGCORD/************/includes/application_top.php on line 22
What dose this mean ?
In includes/configure.php
I changed
define('ENABLE_SSL', 'false');
I made it
define('ENABLE_SSL', 'true');
and in In admin/includes/configure.php
I changed
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');
I made it
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');
What did i do wrong ? Why am i getting that message ? Please help
When i open /includes/application_top.php with notepad++ line 22 is
set_magic_quotes_runtime(0);
Not sure what i need to change here. I set SSL to true in both configuration.php files . not sure what i am missing here.
okay looks like i need to patch my version of zen cart according to this thread. I will try this now and do a full upgrade once i get everything running with the module.
https://www.zen-cart.com/showthread.php?149603-Deprecated-FUNCTION-set_magic_quotes_runtime
wow its been a long day. I seems i sorta have braintree working. Just doing some tweaking now. Larry thank you so much for your help so far.
I installed the braintree 1.1.0 , via copying it over via ftp. I then installed it via the payment modules page.
check*
My sites SSL , has been renewed
check*
I enabled SSL in both the configuration.php files in (includes/) and (admin/includes/
check*
"I then started to get the "deprecated" error message when i tried to load the site admin in https. So i did a forum post and found out it was due to my older version of zencart not working right with PH 5.3. I learned that the fix was either a full upgrade or the patch located on the forum. I used the patch and copied the files over via ftp. The only file that gave me issues was the one for the PayPal module. It would cause a loop on the checkout page between 2 and 3. I kept the old one and it seems to work fine."
Error message fixed with the patch.
check*
After my customers sign up for an account after hitting the checkout button they see this
http://imagizer.imageshack.us/v2/xq90/23/ke28.jpg
I ran a test buy with a visa vanilla card . Braintree shows the purchase on my account page there. But i didn't get a email confirmation with the email i signed up with.
Is my screen shot of braintree how its suppose to look ? I noticed danielosko's screen shot shows the little credit card images.
it looks like he is using Fast & Easy Checkout (Which I recommend) and then there is a modification in the braintree module to show the images with that....
I will give the Fast & Easy Checkout a try. So from what you can see , i am setup right ?
*update
Thank you for making a test customer for me. I see the one you created now. Did it give you any issues ?
Thank you so much for the help! You rock.
Hi, I've installed the Braintree Mod and I've confirmed that everything is set up correctly, and when I tested checking out in the production mode, when I submit my order it goes to an error page saying that the braintree table doesn't exist. I signed into my php database, and indeed there in no table named braintree there. Is there a way to fix this, or a reason why the table wasn't created? Thanks!
More info: I got a confirmation email as a customer (as I was testing checking out on my own cart) that my order had gone through, so Braintree itself seems to be working and going through, but the data has nowhere to write to since the table doesn't exist, so the customer would just see an error page saying the table doesn't exist, and would probably assume the order didn't go through, when it had. I've disabled Braintree for now, but want to fix it!
This was an issue in the earlier versions, is there a table braintree or zen_braintree in your database?
Thanks for your quick reply. Now that I look more closely there is a new table called TABLE_BRAINTREE. Should I rename this table braintree?
AHH ok there is the issue, the table should be called DB_PREFIX (whatever that is) braintree, TABLE_BRAINTREE must not have been defined properly in the installer and then created that., so simple fix rename that table
alright on my new install of zencart 1.5.1 using the latest version of braintree i get the follow error page
WARNING: An Error occurred, please refresh the page and try again.
This is after step 3 of the checkout process. I don't have any error messages in my log folder.
I set braintree to send me any error messages in email. I get
braintree_api
Beginning DP mode
braintree_api
Result: Success
The order invoice is sent to the test customer email just fine. But right after they hit confirm order they get that error message on a blank page. What am i doing wrong here ? This is a new install of zen cart.
Solved it. It was the same problem danielosko & BlackOrchidCouture.
I downloaded the wrong version. It was calling for the table_braintree in the database. I made the fixes to the api and deleted the table and it works fine now. Thanks man !
I'm losing my mind trying to get this figured out
When making trial purchases Braintree shows the funds processing
Customer gets an email order confirmation
Admin shows all order info
on step 3 of checkout however this error message is given:
WARNING: An Error occurred, please refresh the page and try again.
Upon refresh the customer is told the transaction was declined
I also get this message in my log file:
[27-Apr-2014 08:41:53] PHP Fatal error: 1146:Table 'andilyn_zncr5.braintree' doesn't exist :: INSERT INTO braintree (order_id, txn_type, module_name, module_mode, reason_code, payment_type, payment_status, pending_reason, first_name, last_name, payer_business_name, address_name, address_street, address_city, address_state, address_zip, address_country, payer_email, payment_date, txn_id, parent_txn_id, num_cart_items, settle_amount, settle_currency, exchange_rate, date_added) VALUES ('1546', 'cart', 'braintree_api', 'USA', '', 'Credit Card(MasterCard)', 'Completed', '', 'Sean', 'Paul', '', 'SeanPaul', '8010 Presidents Drive', 'Orlando', 'Florida', '32809', 'United States of America', 'littlebearhugs2######################', now(), 'bv5rtbm', '', '1', '0.01', 'USD', '1', now()) in /home4/andilyn/public_html/cherrypitcrafts.com/includes/classes/db/mysql/query_factory.php on line 120
Any suggestions?
There was a bug in previous versions that caused the db_prefix to be dropped, please make sure you are using the most recent version of the module, check your database definitions, and also your database. making sure the defines in the DB match the DB table name.
Please Let us know. This issue sounds like that solved above.
I've read through the entire thread and tried everything suggested. I'm using the latest version of the plugin and zen cart
I'm still getting nowhere fast
when you look in your phpMyAdmin do you have a table "braintree" or "zen_braintree" or TABLE_BRAINTREE or any similar to those?
Hi guys,
Im having a strange issue with the Braintree plugin.
When I put through a transaction, my order total is €1, but in braintree its €1.41
On the site admin and customer invoice the order is showing as €1, but the card is charged €1.41. If I put through a transaction of €5 it is showing up in the Braintree dashboard as €7.01. I thought it may be something got to do with currencies but the currency is set to Euro in both my site and in Braintree
Has anybody come across a similar issue or can shed some light on it?
Has anyone used Venmo or ApplePay with this integration? I don't know if those are supported yet.
I do know from experience that the currency issue, has several factors.
You should have at least 2 processing accounts one for USD and one for EUR, and you need to make sure you are using the correct one. Don't forget the configuration has you OMIT the currency on the end of the processing account.
Those are not supported in the module. However I know that Braintree can support Venmo, bitcoin, apple pay & Paypal.
However I don't' see that in their php documentation.
https://github.com/braintree/braintree_php
That's a shame. I did a bit more digging and looked at their updated docs, where they say "Note: Venmo is not currently supported for Web."
https://developers.braintreepayments...ypal-and-venmo
The fix submitted in version 4 is not correct - new installs will create TABLE_BRAINTREE instead of <prefix>braintree.
The solution is to include the file which defines the table name on line 6 of includes/modules/payment/braintree_api.php.
require_once(DIR_FS_CATALOG . 'includes/extra_datafiles/braintree_api.php');
Alternately, a one time definition could be made:
if (!defined('TABLE_BRAINTREE')) define('TABLE_BRAINTREE', DB_PREFIX . 'braintree');
Hi Guys,
I'm having trouble with the braintree module and i just can't see whats wrong so i hope someone can help me.
I have installed the 1.2.2 version of the braintree module onto the latest version of zencart 1.5.4 and i have put in all my keys etc.
When i go to checkout i input the card details then go to the confirmation page as usual but when i click complete it goes back to step 2 and says sorry we cannot process your order, Please try again.
I turned on debug and recieved 2 emails as below.
Email 1
before_process - DP-1
braintree_api
Beginning DP Mode
Email 2
before_process - DP-5
braintree_api
Result:
Thats all i get everytime i try to order.
SSL is on the site an enabled properly in the config files etc but i cant seem to get around this.
Hope you can help
Thanks
Andy
Transactions with American Express (AMEX) seem to not work - has anyone else experienced this? AMEX is configured in the Braintree Dashboard.
There's a bug in version 6. In includes/modules/payment/braintree_api.php line 781 you need to global $messageStack.
[10-Feb-2015 16:18:02 America/New_York] PHP Fatal error: Call to a member function add() on a non-object in /Users/scott/Sites/site/includes/modules/payment/braintree_api.php on line 809
Much obliged. Any thoughts about AMEX?
OMG I can't believe I missed that. Thanks for the clue.
Hey, another small thing: if you fail to enter the CVV, you get the message
Please make the following corrections:
(i.e. the actual error message is missing.)
As a suggestion, it would be nice to use the image_url attribute to display credit card images
https://developers.braintreepayments...card#image_url
I just found I had this problem too, and it was caused by updating the module but not doing a Remove/Install so the new keys would be set up.
One new key you will need to set is the Merchant ID. It's a bit hard to find - login to BrainTree, go to the Dashboard, and click Settings->Processing. Then scroll to the bottom of the page. You'll see it under "Merchant Accounts" in the "Merchant Account ID" field.
See attachment.
It looks they have updated their API
https://github.com/braintree/braintree_php
Hi all, I am sorry, I am following this thread, and I am not a programer. I am using zencart.1.5.4, and just started working with Briantree., can someone tell me what I need to download from "gethub" and what to replace it with/ when to install it, so that the Braintree processing will work for the 1.5.4 zencart.
Thanks
Normally you wouldn't need to github but the plugin hadn't been updated on zencart. Version 1.3.0 and higher support zencart 1.5.4, you can download 1.3.1 and although it does not say it. It works with the ajax checkout started in 1.5.4.
Thank you,
I will try it tonight.
Hi all, I'm using V154 and have 1.3.1 Braintree module installed. I've got SSL on my site, both configure.php files configured correctly to use SSL for checkout/login and admin.
Braintree is working fine, people can check out with it. But I randomly will get 3 emails at a time from my admin saying this:
update_status
braintree_api
Module disabled because SSL is not enabled on this site.
The module doesn't appear to be disabled, and I don't seem to get these emails at the same time someone is checking out, I notice it sometimes around the time I login to my Zen Cart admin.
I emailed Braintree directly thinking it was something on their end, that they couldn't recognize that I had SSL enabled, and their response was that they can see that my SSL certificate is fine on their end.
Again, there doesn't actually seem to be a problem in terms of the module working, but I'm just wondering why I'm getting these emails, and if it is safe to just ignore them.
Thanks for any info!!
Been through the Braintree website and the documentation for this module, and I am still unclear about one thing.. I get that one must have a PayPal Business account to use this payment module.. Does my client HAVE to offer PayPal as a payment option if they use Braintree?? In other words can Braintree be the ONLY payment module my client uses on her site??
One does NOT need to have a paypal account to process with braintree. Paypal really has no effect on processing with Braintree. You must however have a braintree account.
Braintree can be used along side any other payment module, authorize.net, paypal, sage pay, etc.
However the confusion come in that braintree themselves allow you to process with paypal, vemo, applepay etc. HOWEVER this module does NOT support processing USING THIS MODULE, for anything other than braintree.
Hi guys,
I read all the threads of this post but I could not find the answer to the bug I am experiencing.
My website is:
https://www.dexa-punaise-de-lit.fr
It has the SSL. The Admin/configure.php file is good.
In the database, I see only the braintree file (no table_, no zen_)
My host is ipage (ftp.ipage.com)
The website is in French. I do not use the english folder but the french folder (not sure if this is important or not).
The account has been approved by Braintree. It is in EUR.
I generated new API keys and use them in admin/modules/paiement => braintree
I found the merchant account ID at the bottom of Processing Option.
I try to buy this product in the website:
https://www.dexa-punaise-de-lit.fr/i...products_id=55
During the checkout process, I login, click on "continue".
The braintree module does display the credit card box where I am being asked my credit card details. (see braintree-zencart1.png below)
I fill the info then I click on "continue".
And the first bug appears (see braintree-zencart2.png below). Basically the order confirmation ("confirmation de commande") is displayed twice on the page.
Then I click on "confirm order".
And the second bug appears (see braintree-zencart3.png below). It goes back to step 2/3 and displays the following error message: "Message: Amount must be greater than zero."
Could someone please help me?
P.S. The module has been installed by numinix. I did not change anything after they installed it.
Attachment 15578
Attachment 15579
Attachment 15580
Thank you.
Benoit
OK. I paid a programmer to try to fix the issue.
I found one error. I was using the latest version of zen-cart V1.5.4
The braintree module accept only V.1.5.3
The programmer managed to get the module to work in sandbox.
Bizarrely, in Braintree I can now only use Amex (no Visa, no Credit Card...)
So we will have to wait until Monday to try in production.
Your programmer is mistaken. It works fine with 1.5.4 (and does take Visa and MasterCard if so configured).
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:
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.....Code:<?php
define('TABLE_BRAINTREE', 'braintree');
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)
Attachment 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??
Attachment 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)
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
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