Skip to content

Webhook Handling Error in Laravel Cashier Mollie #289

@iamaks1993

Description

@iamaks1993

### Description
When handling the Mollie webhook for first-time payments, the webhook initially fails with an internal server error on the first one or two attempts, but typically succeeds on the third attempt.

Each failed attempt throws a different error:

  1. No customer exists with token cst_xxxxx

  2. Invalid customer mandate
    (Related issue: #269)

  3. Undefined property: stdClass::$actions
    (Related issue: #202)

We're using newSubscriptionViaMollieCheckout() to initiate checkout and are currently on Laravel Cashier Mollie v2.17, with no customization.

Log File
laravel.log

Video of issue
https://www.awesomescreenshot.com/video/39049454?key=24c3f3b0d821ba72849f8f79cda018da

Screenshot Of webhook
In this you can see that first 2 webhook calls are failed and 3rd succeeds.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions