Skip to content

browser times out instead of giving an error to the user #698

@androng

Description

@androng

Bug report

  • Extension name: [e.g. firestore-stripe-payments]

Describe the bug

I recently had an inactive price in my Stripe dashboard. I clicked "buy now" on my website and called CreateCheckoutSession and then nothing happened. I got "Timeout while waiting for session response." but the error is there in the screenshot on the right side. It is in my Firestore Database.

Image

To Reproduce

Give a bad price or wrong Stripe price to createCheckoutSession. This probably occurs with any kind of stripe error, not just an inactive price.

Expected behavior

The error should be given back directly to the browser instead of just timing out.

System information

macOS Firebase emulator

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