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

Enforcing Strict Type Checking in PHP Configuration

Introduction

In our ongoing efforts to improve code quality and maintainability within our PHP projects, we have taken the step of enforcing strict type checking in configuration files. This was recently implemented in the resend.php configuration file, a critical aspect of our application.

The Challenge

PHP, being a loosely typed language, allows type juggling, which can lead to unpredictable behavior and bugs that are hard to trace.

Read more

Enhancing Badge Management with Filament

Introduction

The badge management system has been overhauled to provide a more intuitive and user-friendly experience. This update introduces the ability to manually assign badges to users, complete with visibility settings and date tracking.

Development

The UsersRelationManager class was created to handle user-badge relationships. This class extends Filament's RelationManager and includes methods for getting the relation title, form, and table configurations.

Read more
Gerardo Ruiz

Gerardo Ruiz

Soy Gerardo Ruiz, el creador de Devlog.ist

Founder

Newsletter

Get weekly updates with new posts.