Forums / Addon Payment Modules / Adding Braintree payment module

Adding Braintree payment module

Views: 83,423

Results 81 to 100 of 214
30 Mar 2015, 4:03 PM
#81
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Adding Braintree payment module

andeza20:

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

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.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

30 Mar 2015, 4:20 PM
#82
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Adding Braintree payment module

swguy:

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.

swguy-

Would you happen to have a screen shot, maybe that would help everyone?

Thanks!

30 Mar 2015, 4:35 PM
#83
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Adding Braintree payment module

See attachment.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

15 May 2015, 10:39 PM
#85
gokeypa avatar

gokeypa

New Zenner

Join Date:
Sep 2011
Posts:
86
Plugin Contributions:
0

Re: Adding Braintree payment module

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

16 May 2015, 12:37 AM
#86
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Adding Braintree payment module

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.

16 May 2015, 1:38 AM
#87
gokeypa avatar

gokeypa

New Zenner

Join Date:
Sep 2011
Posts:
86
Plugin Contributions:
0

Re: Adding Braintree payment module

Thank you,

I will try it tonight.

7 Jun 2015, 7:57 PM
#88
blackorchidcouture avatar

blackorchidcouture

Zen Follower

Join Date:
Apr 2010
Location:
Albuquerque, NM
Posts:
198
Plugin Contributions:
0

Re: Adding Braintree payment module

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!!

13 Jun 2015, 9:32 AM
#89
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Adding Braintree payment module

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??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

15 Jun 2015, 1:30 PM
#90
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Adding Braintree payment module

DivaVocals:

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.

13 Jul 2015, 12:49 PM
#91
enlightened avatar

enlightened

New Zenner

Join Date:
May 2014
Location:
United Kingdom
Posts:
44
Plugin Contributions:
0

Re: Adding Braintree payment module

bislewl:

HOWEVER this module does NOT support processing USING THIS MODULE, for anything other than braintree.

Does that mean you can only process credit cards through Braintree?

And so you still need PayPal?

I was hoping it would be an all-encompassing payment system allowing Apple Pay and everything :-/

4 Sep 2015, 1:25 PM
#92
trentdosto avatar

trentdosto

New Zenner

Join Date:
Jun 2013
Location:
Hong Kong
Posts:
5
Plugin Contributions:
0

Re: Adding Braintree payment module

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/index.php?main_page=product_info&cPath=42&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

5 Sep 2015, 8:03 AM
#93
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Adding Braintree payment module

trentdosto:

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/index.php?main_page=product_info&cPath=42&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

These look like issues with your checkout and are probably not directly related to Braintree. To confirm that, set the payment module to disabled in the admin and try checking out with a different payment method.

6 Sep 2015, 10:30 AM
#94
trentdosto avatar

trentdosto

New Zenner

Join Date:
Jun 2013
Location:
Hong Kong
Posts:
5
Plugin Contributions:
0

Re: Adding Braintree payment module

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.

6 Sep 2015, 12:33 PM
#95
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Adding Braintree payment module

Your programmer is mistaken. It works fine with 1.5.4 (and does take Visa and MasterCard if so configured).

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

18 Dec 2015, 5:54 PM
#96
danielosko avatar

danielosko

Zen Follower

Join Date:
Dec 2008
Location:
Hanover Township PA, USA
Posts:
122
Plugin Contributions:
0

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:

<?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)

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

Daniel Osko

19 Dec 2015, 4:09 AM
#97
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Adding Braintree payment module

danielosko:

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:

<?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) > > 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)
19 Dec 2015, 10:10 AM
#98
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Adding Braintree payment module

bislewl:

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.

19 Dec 2015, 5:22 PM
#99
danielosko avatar

danielosko

Zen Follower

Join Date:
Dec 2008
Location:
Hanover Township PA, USA
Posts:
122
Plugin Contributions:
0

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

19 Dec 2015, 7:48 PM
#100
danielosko avatar

danielosko

Zen Follower

Join Date:
Dec 2008
Location:
Hanover Township PA, USA
Posts:
122
Plugin Contributions:
0

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