---
title: "Discussion on \"Your Customer Paid Once. Why Did Your Laravel App Record It Twice?\" | Hashnode"
description: "Discussion on \"Your Customer Paid Once. Why Did Your Laravel App Record It Twice?\". Handle Stripe webhook retries in Laravel with a unique PaymentIntent ID, a database transaction, and a test for duplicate payments."
url: "https://hashnode.com/posts/your-customer-paid-once-why-did-your-laravel-app-record-it-twice/6af74f52cd05fe909846e87a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your Customer Paid Once. Why Did Your Laravel App Record It Twice?](https://lioncoders.hashnode.dev/your-customer-paid-once-why-did-your-laravel-app-record-it-twice?utm_source=hashnode&utm_medium=feed)

Handle Stripe webhook retries in Laravel with a unique PaymentIntent ID, a database transaction, and a test for duplicate payments.

5d ago · 3 min read · lioncoders.hashnode.dev  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#stripe](https://hashnode.com/tag/stripe)

## Written by

[LionCoders](https://hashnode.com/@mainul-lioncoders)

@mainul-lioncoders

  
[View profile](https://hashnode.com/@mainul-lioncoders)

Building SaaS products and custom software at LionCoders. Sharing practical insights on Laravel, SaaS architecture, Linux, and business auto

I build SaaS products and custom software at LionCoders, a SaaS company and custom software development agency. Our products include SalePro POS / SaaS and PeoplePro HRM. I share practical, real-world insights on PHP, Laravel, SaaS architecture, REST APIs, database optimization, Linux, VPS administration, CyberPanel, email infrastructure, and business automation. Website: https://lion-coders.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
