Forums / Addon Payment Modules / Adding Braintree payment module

Adding Braintree payment module

Views: 83,422

Results 101 to 120 of 214
22 Dec 2015, 3:44 PM
#101
danielosko avatar

danielosko

Zen Follower

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

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

22 Dec 2015, 4:00 PM
#102
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 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.php?218914-Security-Patches-for-v1-5-4-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 :D

Daniel Osko

22 Dec 2015, 4:08 PM
#103
danielosko avatar

danielosko

Zen Follower

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

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

24 Dec 2015, 1:09 AM
#104
lrfowler24 avatar

lrfowler24

New Zenner

Join Date:
Feb 2010
Posts:
74
Plugin Contributions:
0

Re: Adding Braintree payment module

geez....I installed all the keys correctly.....merchant ID is correct....nothing is showing up at checkout............just paypal express and money order checkout.......What did I miss?
https://www.leoandmo.com

1 Mar 2016, 1:40 AM
#105
chrisjaffe avatar

chrisjaffe

New Zenner

Join Date:
Apr 2011
Posts:
2
Plugin Contributions:
0

Re: Adding Braintree payment module

I have installed this plugin and it is working. Transactions are posted to my Braintree merchant account successfully. Thanks!

The problem I am having is that the Customer and Payment token are not added to the Braintree Vault. Looking at the Braintree parameters sent the storinvault parameter is not being passed to Braintree.

I see the references to this parameter in the plugin code and a commented out section saying "setting transaction[options][storeInVault] to true" but I do not see any way to set this option. How is this option set.

Thanks,
cj

14 Jul 2016, 9:43 PM
#106
andy_c27 avatar

andy_c27

Zen Follower

Join Date:
Oct 2010
Location:
United Kingdom
Posts:
477
Plugin Contributions:
0

Re: Adding Braintree payment module

I had a wee go myself to get this up and running , but in the end I had to hire someone to finish off for me..
All I can say from my point of view this 1 is a absolute must for all cart owners as you don't leave your website.
I am hoping this 1 will sort out my cart abandons ....SO thanks for this add on

15 Jul 2016, 5:29 PM
#107
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Adding Braintree payment module

Andy-C27:

is a absolute must for all cart owners as you don't leave your website.
Note that the Payeezy JS module also avoids customers needing to leave your website, and is built-in to v155.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Jul 2016, 10:14 AM
#108
andy_c27 avatar

andy_c27

Zen Follower

Join Date:
Oct 2010
Location:
United Kingdom
Posts:
477
Plugin Contributions:
0

Re: Adding Braintree payment module

Ahh well ,never tried that 1 yet :) ...Darn lol

Although have read a bit more into Braintree and seems you have a few other loop holes to jump though before you get complete PCI compliance ( although it's free) Can anyone tell me what that consists of as they are closed till Monday ..SO I can get a head start on it
thanks

24 Aug 2016, 3:17 PM
#109
andy_c27 avatar

andy_c27

Zen Follower

Join Date:
Oct 2010
Location:
United Kingdom
Posts:
477
Plugin Contributions:
0

Re: Adding Braintree payment module

Braintree mod all working fine for UK setup ,really makes life a breeze for customers to pay

17 Jun 2017, 3:32 AM
#110
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Adding Braintree payment module

Andy-C27:

Braintree mod all working fine for UK setup ,really makes life a breeze for customers to pay

Be forewarned, if you remove this module it will remove ALL payment modules. I had this happen on a live site (1.5.5) and it did the same when I removed it on a test site (1.5.4).

Jim
Wheaton Website Services

17 Jun 2017, 1:00 PM
#111
swguy avatar

swguy

Administrator

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

Re: Adding Braintree payment module

Jim, do you maybe have an old copy of this module? The latest one doesn't do that (tested against 1.5.5).

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.

17 Jun 2017, 1:46 PM
#112
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Adding Braintree payment module

swguy:

Jim, do you maybe have an old copy of this module? The latest one doesn't do that (tested against 1.5.5).

I am using version 1.3.5. I just tried it again on a test 1.5.5 ZC. It removed all payment modules again. What version are you using?

Jim
Wheaton Website Services

17 Jun 2017, 1:52 PM
#113
swguy avatar

swguy

Administrator

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

Re: Adding Braintree payment module

Looks like they broke it. :( Modify function remove() in includes/modules/payment/braintree_api.php. Replace what's there with this:

    function remove() {
        global $db;

        $db->Execute("DELETE FROM " . TABLE_CONFIGURATION . " WHERE configuration_key LIKE 'MODULE\_PAYMENT\_BRAINTREE\_%'");
        $this->notify('NOTIFY_PAYMENT_BRAINTREE_UNINSTALLED');
    }

Please report this issue to the Numinix guys. Thanks.

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.

17 Jun 2017, 2:08 PM
#114
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Adding Braintree payment module

swguy:

Looks like they broke it. :( Modify function remove() in includes/modules/payment/braintree_api.php. Replace what's there with this:

function remove() {
    global $db;

    $db->Execute("DELETE FROM " . TABLE_CONFIGURATION . " WHERE configuration_key LIKE 'MODULE\_PAYMENT\_BRAINTREE\_%'");
    $this->notify('NOTIFY_PAYMENT_BRAINTREE_UNINSTALLED');
}
> 
> Please report this issue to the Numinix guys.  Thanks.

Thanks Scott. I've fixed mu copy and have reported the issue to Numinix.

Jim
Wheaton Website Services

18 Jun 2017, 2:48 AM
#115
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Adding Braintree payment module

The version at http://www.zen-cart.com/downloads.php?do=file&id=1781 by bislewl appears to already contain that fix.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Jun 2017, 2:53 AM
#116
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Adding Braintree payment module

DrByte:

The version at http://www.zen-cart.com/downloads.php?do=file&id=1781 by bislewl appears to already contain that fix.

I don't see a version from bislewl at that url.

Jim
Wheaton Website Services

18 Jun 2017, 3:01 AM
#117
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Adding Braintree payment module

Sorry, bislewl had posted that link initially. When I downloaded that version yesterday I saw that the remove() function was as thatsoftwareguy just posted.

Hence my implication that the plugin hosted on zen-cart.com already has that code change.

Now, maybe Numinix has a different version over on their site, newer or older. With them you've always gotta re-check what they're up to.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Jun 2017, 3:05 AM
#118
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Adding Braintree payment module

DrByte:

Sorry, bislewl had posted that link initially. When I downloaded that version yesterday I saw that the remove() function was as thatsoftwareguy just posted.

Hence my implication that the plugin hosted on zen-cart.com already has that code change.

Now, maybe Numinix has a different version over on their site, newer or older. With them you've always gotta re-check what they're up to.

I see. Here's the confusion. The version posted here is 1.3.1 and has the correct remove module code. The version available from the numinix site is 1.3.5, which is the version I was using. That has the incorrect removal code. I'll review the changed between the two versions and see about posted a corrected 'updated' version.

Jim
Wheaton Website Services

18 Jun 2017, 3:13 AM
#119
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Adding Braintree payment module

Fixed 1.3.5 version uploaded as version 1.3.5a. Should be available soon.

Jim
Wheaton Website Services

10 Aug 2017, 10:38 AM
#120
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Adding Braintree payment module

Hello

I am running Braintree in sandbox mode on my test site on Windows PC using xampp.
It seems to be running OK, I can configure everything in admin/modules/payment/Braintree
I get the message "update_status Module disabled because SSL is not enabled on this site."

But I also have Paypal implemented on my test site and that works fine so SSL must be working?

Any suggestions welcomed :)