Skip to content

Sessions DropIn can't be completed after dismiss #774

@johanehinger

Description

@johanehinger

You can't complete a payment if the DropIn has been dismissed once.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Sessions Checkout
  2. Press on DROP-IN
  3. Dismiss the DropIn component using the close button.
  4. Press on DROP-IN again
  5. Press on Credit card
  6. Fill in information and press pay.

The DropIn will now never trigger the onComplete callback and we won't be redirected to payment confirmation. We will be stuck in a loading state forever.

unhayyp.path.trimmed.mov

Expected behavior

The expected behavior is that no matter how many times you open the DropIn you should still be able to run the onComplete. If you never dismiss the DropIn this works great

happy.path.trimmed.mov

Additional context

I'm running your provided examples on a simulator, but the same issue is reproducible in different variations in our live app too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestto be releasedNecessary change committed to develop and will be released shortly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions