Skip to content

Stripe Payment element reloads the whole web app after rendering #2102

Open
@harunr-plateron

Description

@harunr-plateron

Describe the bug
When rendering the Stripe Payment Element in a Flutter web app, the entire application reloads unexpectedly. This disrupts the user experience and prevents successful payment processing.

To Reproduce
Steps to reproduce the behavior:

  1. Integrate the Stripe Payment Element into a Flutter web
  2. Navigate to the payment page where the element is rendered.
  3. Observe that the entire web app reloads immediately after rendering the Payment Element.

Expected behavior
The Stripe Payment Element should render without causing a full-page reload, allowing users to proceed with entering their payment details and completing the transaction smoothly.

Smartphone / tablet

  • Device: iPhone
  • Browser: Safari v17.5.1
  • Flutter version:
    flutter_stripe: ^11.4.0
    flutter_stripe_web: ^6.4.0

Additional context

  • No errors are logged in the console before the reload happens.
MicrosoftTeams-video-2.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions