Request a Call

Processing...

  • Hidden

Business Overview

The client’s company is a cash-on-delivery (COD) gateway for eCommerce platforms which offers a full suite of technological solutions.

The platform enables customers to manage shipments and remittances, track orders, and reduce cancellations. 

The system also integrated with Salesforce and allows businesses to engage the consumer throughout the process via SMS systems and call centers.

The platform data volume increased from 20k to 70k requests per day and the system was not ready for such an intensive data flow.

Challenge

The client approached the NIX team to boost performance and increase the scalability of the entire system. As a result, we highlighted two main challenges:

challenge icon

Increase the request limit and reduce the number of duplicates from the PHP side to the Salesforce platform 

challenge icon

Ensure smooth system performance by reinforcing the code base on PHP and Salesforce sides

Solution

We used debugging and added logging to increase the request limit from the PHP side to the Salesforce platform. This allowed us to analyze the system and understand the flow and quantity of requests. 

We conducted total refactoring and wrote auto-tests to ensure that there were no duplicates of requests and to make sure that orders arrive at the end-system. 

To make the system more scalable and ready to process a vast amount of data, we modified the logic to process and convert firstly all data that logged, and then sent this to the database. Since Salesforce is a cloud platform with quite strict limits on available resources, we optimized the code base. 

72 (1)
69 (1)

Shopify Integration

We’ve also integrated the system with Shopify and built a separate Laravel-based application that allows for transferring the invoices made in the Shopify store to the client’s system. Shopify API makes it possible to view and edit invoices by the supervisor.

The team used Shopify webhooksβ€”a tool for retrieving and storing data from a specific event. It allows the app to execute code immediately after specific events occur in shops that have your app installed instead of making API calls periodically to check their status. 

Flow:

  • 1

    Users make orders on the platform

  • 2

    Shopify sends the invoice into our system

  • 3

    Received orders are transferred and processed on the PHP side

  • 4

    The data is transferred to the Salesforce platform in the form of documents, graphics, dashboards, and statistics

The NIX team also added the ability to automatically generate performance reports for the client’s partners for the last payment period and reports that contain parcel info used for transportation. For the generation process, we used Apex as a server language, Lightning Web Components, and an internal Salesforce JS framework. 

Moreover, we wrote documentation consisting of rules and practices gained in the process that will be highly useful for developers and will help avoid inconsistencies.

70 (1)

Outcome

68 (1)

Outcome

The client received an updated and highly functional system that meets the current requirements of 70k requests per day and lays down the additional potential for further growth. Moreover, the system is now more stable and scalable due to reinforcing the code base and refactoring.

This enhances the relationship between the merchant and the end client, increasing revenue along the way.

Team:

Project Manager, 2 Salesforce Developers, PHP Developer, QA Engineer

Tech Stack:

JavaScript, Salesforce, Apex, Shopify, Apache, Laravel, PHP, MySQL, VisualForce

REQUEST A CONSULTATION

Relevant Success Stories

View all success stories

Device Management Solution for Fortune 500 Company

Internet Services and Computer Software

Manufacturing

Success Story Device Management Solution for Fortune 500 Company image

Modernization of the Online Food Delivery Ecosystem

Food & Beverages

Logistics & Delivery & Supply Chain

Success Story Modernization of the Online Food Delivery Ecosystem  image

FITHOOD: Mobile App for a Seamless Fitness Experience

Wellness & Sport

Success Story FITHOOD: Mobile App for a Seamless Fitness Experience image

Enterra: E-commerce Solution for the Agriculture Market

Agriculture

Retail & eCommerce

Success Story Enterra: E-commerce Solution for the Agriculture Market image
01

Contact Us

Accessibility Adjustments
Adjust Background Colors
Adjust Text Colors