Skip to content

iOS inAppBrowser "Return to Merchant" button does not return back with iDeal, Bancontact and FPX #462

@vladms

Description

@vladms

Describe the bug
I tried paying with iDeal in the example app. The iOS can open the payment link in two ways:

  1. Opening safari as a different app
  2. Opening InAppBrowser

After authorising the payment, the browser should redirect user to the app. This happens only when Safari is opened as a different app. The "Return to Merchant" button gives me this log every time I tap it:
Deep Link does not contain valid required params. URL params: {
"redirect_status" = succeeded;
"setup_intent" = "<.....>";
"setup_intent_client_secret" = "<......>";
}

To Reproduce
Steps to reproduce the behavior:

  1. Download the example app
  2. Change the stripe publishable key
  3. Pay with iDeal
  4. The inAppBrowser is opened
  5. Authorise or decline the payment
  6. Back to merchant is "blocked". Does not take the user back to the app

Expected behavior
After the payment was authorised/declined, the inAppBrowser should open the app

Smartphone / tablet

  • Device: Simulator iPhone 11 Pro Max

  • OS: 14.5

  • Package version: 2.0.2

  • Flutter version 2.5.2

  • Device: Simulator iPhone X

  • OS: 15.1

  • Package version: 2.0.2

  • Flutter version 2.5.2

Additional context
Here is a video of the issue:
Uploading Simulator Screen Recording - iPhone 11 Pro Max - 2021-11-23 at 11.42.46.mp4…

Metadata

Metadata

Assignees

Labels

blockedThis issue is blocked by an external dependency issuebugSomething isn't workingiOSIssue related to iOS native bindings

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions