Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

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.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...