Skip to content

Allow payment sheets within modals - #366

Merged
arekkubaczkowski merged 2 commits into
stripe:masterfrom
jfrolich:patch-1
Jul 1, 2021
Merged

arekkubaczkowski merged 2 commits into
stripe:masterfrom
jfrolich:patch-1

Conversation

@jfrolich

Copy link
Copy Markdown
Collaborator

Currently when you try to call presentPaymentSheet from a modal, the app will crash. This has been reported in a few issues (#315, #290).

I am not entirely sure if this fix doesn't breaks non-modal use-cases. But at least it worked correctly within a modal for our use-case with this modification.

@CLAassistant

CLAassistant commented Jun 23, 2021 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@dearlove0007 dearlove0007 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@arekkubaczkowski
arekkubaczkowski merged commit e0b59b9 into stripe:master Jul 1, 2021
This was referenced Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants