Gerardo Ruiz Gerardo Ruiz

Filtered Posts (Clear all)

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

When a user attempted to check out with a Stripe customer ID that no longer existed, our existing logic

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

Previously, our auto-sync feature did not account for commits that had already been associated with posts.

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 prevent the test suite failures without compromising the database transactions.

The Solution

Read more

Enhancing Laravel Application Standards with Updated Guidelines and Dependencies

Introduction

Our Laravel application required improvements in documentation, development workflows, and standardization. The existing setup lacked clarity and efficiency, making it challenging to maintain and scale.

The Challenge

The primary issues with our current setup were:

  • Insufficient documentation for Laravel Boost, Tailwind CSS, PHPUnit, and Filament
  • Inadequate integration with Prism and support for multiple AI providers
  • Limited guidelines for maintaining application standards
Read more
Gerardo Ruiz

Gerardo Ruiz

Soy Gerardo Ruiz, el creador de Devlog.ist

Founder

Newsletter

Get weekly updates with new posts.