Jump to content

Braintree Installation - Warning

Recommended Posts

Installed Braintree Payment Module v2.01 which updated to 2.011. After entering all the Configuration and Credential settings provided by Braintree, we get this error on checkout_payment.php.

Warning:  in_array() expects parameter 2 to be array, null given in /home/XXXXXXXXXX/public_html/includes/modules/payment/braintree_cc.php on line 1277

Seems like it's looking for an option other than PayPal. Braintree > Configuration > Credit Cards under "Payment Types" (Enable the payment types to make available) only shows PayPal. I feel like this should show others like Visa, Mastercard, American Express, etc. If we select PayPal (which is the only option) it simply loops back to the same page (checkout_confirmation.php) without an error.

Thoughts from anyone with experience setting up or using the Braintree App 2.01 on osCommerce 2.3.4? 

BTW, we have the PayPal App 5.018 working and it's been running fine for years.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now