1 Attachment(s)
Re: Adding Braintree payment module
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
Re: Adding Braintree payment module
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
Re: Adding Braintree payment module
Sorry I'v been outta town, I'll be back in a few days
Re: Adding Braintree payment module
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:
Re: Adding Braintree payment module
Hi All,
Well, I have another order and the statements in my last posting are still true.
Any Ideas? Anyone?
Thanks,
Danny
Re: Adding Braintree payment module
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:
PHP Code:
define('TABLE_BRAINTREE', DB_PREFIX . 'braintree');
to:
PHP Code:
define('TABLE_BRAINTREE', 'braintree');
This is because it looks like the table 'braintree' was coded into the module, rather the TABLE_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.
1 Attachment(s)
Re: Adding Braintree payment module
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
Re: Adding Braintree payment module
In both your config.php files make sure you have https and SSL set to true
Re: Adding Braintree payment module
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
Re: Adding Braintree payment module
It's been added to the plugins on Zen Cart. Does that mean there is now a support thread? Because I need one!