Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payment Zone Not Working


kennyk

Recommended Posts

In my shop we only accept credit cards from US and Canadian customers.  BrainTree is ignoring the Payment Zones configured.  I used this same payment zone with Authorize.Net without issue.  Anyone know how to fix this?

Thank you in advance.

Link to comment
Share on other sites

There is a bug with the Braintree App v2.011 that does not respect the Payment Zone if one has been specified. Until the next App update is pushed out, those affected by this issue can easily apply the following change.

In the following file:

catalog/includes/modules/payment/braintree_cc.php

on lines 95 and 97, the following constant is being referenced:

OSCOM_APP_PAYPAL_DP_ZONE

simple replace both instances with the following constant:

OSCOM_APP_PAYPAL_BRAINTREE_CC_ZONE

and save the file.

Payment Zones will then work as normal.

:heart:, osCommerce

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