Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Braintree Installation error

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 09-02-2016, 09:03 AM
 
quietcoolone quietcoolone is offline
 

Senior Member
  
Join Date: Mar 2011
Posts: 176
 

Default Braintree Installation error

Hello,
I'm in the process of adding Braintree module to my XCart 4.6.1 store.
The install was going well until the following screen:

Installing and configuring the module

Activating the module ...

Please wait ...
braintree_remove.sql [OK]

Please wait ...
braintree.sql [FAILED] Duplicate column name 'braintree_customer_id'

Can anyone shine some light on how to fix this?

Thank you.
__________________
Austin!
X-Cart 4.7.7 (old) X-Cart Business 5.3.6.8 (new)
Reply With Quote
  #2  
Old 09-04-2016, 10:49 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Braintree Installation error

Quote:
Originally Posted by quietcoolone
Hello,
I'm in the process of adding Braintree module to my XCart 4.6.1 store.
The install was going well until the following screen:

Installing and configuring the module

Activating the module ...

Please wait ...
braintree_remove.sql [OK]

Please wait ...
braintree.sql [FAILED] Duplicate column name 'braintree_customer_id'

Can anyone shine some light on how to fix this?

Thank you.

posted
https://bt.x-cart.com/view.php?id=46572
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote

The following user thanks aim for this useful post:
ambal (09-05-2016)
  #3  
Old 09-05-2016, 10:31 AM
 
quietcoolone quietcoolone is offline
 

Senior Member
  
Join Date: Mar 2011
Posts: 176
 

Default Re: Braintree Installation error (fix)

Apparently, i tried to install the module, and the previous installation was not completed properly.

To fix the error, apply the following SQL patches to your X-Cart database:

ALTER TABLE `xcart_customers` DROP COLUMN `braintree_customer_id`;
DROP TABLE `xcart_braintree_account`;
DELETE FROM xcart_languages WHERE name LIKE 'lbl%_braintree_%';
DELETE FROM xcart_modules WHERE module_name='Braintree';
DELETE FROM xcart_ccprocessors WHERE processor='cc_braintree.php';

After that, try to install the module once again.
__________________
Austin!
X-Cart 4.7.7 (old) X-Cart Business 5.3.6.8 (new)
Reply With Quote

The following user thanks quietcoolone for this useful post:
ambal (09-05-2016)
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:57 PM.

   

 
X-Cart forums © 2001-2020