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

Streamlining Support Ticket Notifications in Laravel

Introduction

In our ongoing effort to enhance the performance and maintainability of our Laravel application, we tackled the complexity of our support ticket notification process. Previously, the system was cluttered with unnecessary configurations and queue settings that didn’t align with our streamlined project standards.

The Challenge

The core issue was that the

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

Read more

Enhancing LinkedIn Publishing with Error Handling and Internationalization

Introduction

Our LinkedIn publishing feature required enhancements to improve user experience and adherence to project standards. This post details the implementation of error handling for post scheduling and internationalization of new error messages.

The Challenge

  • Unique constraint violations when scheduling posts for the same day needed proper handling
  • Error messages required
Read more

Enhancing Multi-Tenant Capabilities and Error Handling in PostGenerator and SetTenantSchema Middleware

Introduction

Our application required enhancements to its multi-tenant capabilities and error handling mechanisms. The existing PostGenerator and SetTenantSchema middleware needed improvements for better compatibility with multi-tenant setups and to ensure visibility into issues without disrupting user experience.

Development

The enhancements involved updating the PostGenerator to include

Read more

Enhancing Localization and UI for Lifetime Offer

Introduction

The project required enhancements to the localization and UI elements for the lifetime offer. The goal was to clearly communicate the availability of the lifetime plan during the early access phase.

Development

To achieve this, we updated the translation files for English, Spanish, French, and German to include a new message indicating the limited availability of the lifetime

Read more