X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Braintree Installation error (https://forum.x-cart.com/showthread.php?t=74387)

quietcoolone 09-02-2016 09:03 AM

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.

aim 09-04-2016 10:49 PM

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

quietcoolone 09-05-2016 10:31 AM

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.


All times are GMT -8. The time now is 09:40 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.