Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Updated Braintree App


frankl
 Share

Recommended Posts

# Braintree App for osCommerce Online Merchant v3.x

## Changelog

**v3.000 01-Aug-2021**

* Remove all TABLE_ FILENAME_ references and hardcode tables and filenames

* Replace $HTTP_GET_VARS and $HTTP_POST_VARS with $_GET and $_POST

* Update classes to be compatible with PHP 7.3.0

* Update Braintree PHP Client to v6.3.0.

* Update SSL test to go to https://www.howsmyssl.com/a/check

* Checking for updates now goes to my website rather than the osCommerce website

Now in the apps section

osCommerce user since 2003! :thumbsup:

Link to comment
Share on other sites

  • 1 year later...

Hi is this app still supported?

Having a few issues....

Thanks

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

 

8 hours ago, frankl said:

Not using osC any more so not really. Sorry.

Ok thank you

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

This is puzzling me - I have tried the installation 3 times now with the same result ie white screen on the orders.php page and under modules - payment - add modules it only lists 2 modules, not the usual 20 or so.

Also when clicking on either of the two options in the new Admin Braintree box again it is white screen.

There are no errors coming up in the error log

When I remove the files the admin again works as it should.

Site is a 2.3.4 build

Anyone have this mod up and running?

Thank You :)

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

  • 5 months later...

@frankl Not sure Frank is maintaining this so please ignore should you wish.

There is an error in includes/modules/payment/braintree_cc.php around lines 95

      if ( ($this->enabled == true) && ((int)OSCOM_APP_PAYPAL_DP_ZONE > 0) ) {
        $check_flag = false;
        $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . OSCOM_APP_PAYPAL_DP_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");

Are referring to the wrong wrong zone. It should be


      if ( ($this->enabled == true) && ((int)OSCOM_APP_PAYPAL_BRAINTREE_DP_ZONE > 0) ) {
        $check_flag = false;
        $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . OSCOM_APP_PAYPAL_BRAINTREE_DP_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");

 

Edited by greasemonkey
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.

Guest
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.

 Share

×
×
  • Create New...