Skip to content

Case study · Multi-store fashion retailer · North America

Magento 2.4.6 upgrade gets Braintree card payments working again on three store views

Card payments were failing on a multi-store shop selling into the US and Canada. The upgrade got checkout working again, and turned up malicious scripts that earlier developers had missed.

  • Magento 2.4.6
  • Braintree
  • Apple Pay
  • Cloudways
  • Multi-store

3

Store views with card checkout restored

0

Malicious scripts remaining

2.4.5 → 2.4.6

Magento upgraded, Braintree SDK updated

01

Problem

Braintree card payments were failing at checkout on a multi-store shop selling in English and French across the US and Canada.

Magento was a release behind, the Braintree SDK and modules were out of date, and the browser console was full of errors.

02

What we found

An old Braintree SDK and payment modules that no longer matched the gateway's API.

JavaScript errors on checkout in all three store views, which stopped the card form from loading.

Malicious scripts tucked away in the code that previous developers hadn't spotted.

03

What we did

We took Magento from 2.4.5 to 2.4.6 and updated the Braintree SDK and payment modules.

We fixed the checkout errors and cleared the console on each store view.

We found and removed the malicious scripts, then walked the owner through each risk in plain English.

04

Result

Cards work again on every store view, so all three markets are taking money again.

The store is upgraded and clean, and the weak spots are written down.

The owner is now planning the store's next platform move with us.

Scopebit did an outstanding job upgrading our Magento store and resolving complex payment integration issues. They upgraded Magento from 2.4.5 to 2.4.6, updated the Braintree SDK and modules, fixed checkout errors, cleaned console issues, and restored credit card functionality. They also identified and removed hidden malicious scripts that previous developers had missed. This was critical for our security. They went beyond the original scope by identifying vulnerabilities and explaining the risks clearly. Their experience shows, especially in payments, security, and checkout architecture. The job was handled professionally from start to finish. I am very satisfied with the results and would absolutely work with them again. Highly recommended for Magento upgrades, payment integrations, and security fixes.
Owner · Multi-store fashion retailer · North America

Planning something similar?

You'll speak to one of the developers. We'll tell you which route we'd take, what usually goes wrong on projects like yours and where we'd start.

Happy to sign an NDA · Everything tested on staging first · The code is yours