Latest Updates

Documenting code, one commit at a time.

Handling Stale Stripe Customer IDs During Checkout

Introduction

In a recent update to our eCommerce platform, we faced an issue with handling stale Stripe customer IDs during the checkout process. When users referenced a deleted Stripe customer, our application would encounter errors that disrupted the checkout experience. To improve the user journey, we implemented a solution that gracefully handles this scenario.

The Challenge

Read more

Enhancing Auto-Sync Functionality: Excluding Already-Used Commits

Introduction

In our recent development effort, we aimed to enhance the auto-sync functionality in our post generation system. The primary concern was to ensure that commits already used in existing posts would not be duplicated in the auto-sync process. This adjustment was necessary to maintain the integrity and uniqueness of the posts generated by our system.

The Challenge

Read more

Resolving Test Suite Failures Caused by Database Transactions

Introduction

Our test suite was experiencing frequent failures due to database transaction issues. The reconnect() method was causing the PDO connection to close, triggering Laravel's RefreshDatabase trait to reset and resulting in deadlocks and "relation does not exist" errors.

The Challenge

The main challenge was to identify the root cause of the issue and find a solution that would

Read more

Enhancing GitHub Service with Carbon and Notifications

Introduction

Our team has been working on improving the GitHub service in our application. One of the key areas of focus was enhancing the date handling and introducing a notifications system.

The Challenge

The existing GitHub service had limitations in terms of date management and lacked a notifications system. This made it difficult to keep track of recent activities and notify users

Read more

Registro de Requests y Responses en Integraciones de APIs

Introducción

El análisis de datos en integraciones de APIs es crucial para entender el comportamiento de los sistemas y mejorar su rendimiento. Una parte fundamental de este análisis es el registro de requests y responses. En este artículo, exploraremos la importancia de guardar estas interacciones para un análisis de datos efectivo.

Desarrollo

El registro de requests y responses

Read more
Python API

Manejo eficaz de errores en APIs de proveedores externos

Introducción

Las integraciones tecnológicas con proveedores externos son comunes en el desarrollo de software moderno. Sin embargo, esto puede introducir desafíos adicionales, especialmente cuando se trata de manejar errores provenientes de estas APIs externas. En este artículo, exploraremos estrategias efectivas para lidiar con errores de APIs de proveedores externos de manera que se pueda

Read more