Coder Social home page Coder Social logo

Comments (2)

emmessess avatar emmessess commented on July 4, 2024

Describe the bug I am not getting the callbacks in ThreedsWebViewControllerDelegate. All I can see is a white screen and security errors.

To Reproduce Steps to reproduce the behavior:

  1. create a redirect URL
  2. open the sample ios application
  3. paste the redirect URL in the 3ds field.
  4. tap on the button to navigate to OTP screen.
  5. enter OTP "Checkout1!"
  6. tap on submit button

Expected behavior should be redirected to the success screen with a callback on ThreedsWebViewControllerDelegate

Screenshots Screenshot 2023-02-21 at 9 40 27 AM

Desktop (please complete the following information):

  • OS: Ventura
  • Xcode: 14.1

Smartphone (please complete the following information):

  • Device: iPhone 11
  • OS: iOS 16

Additional context used sample success url: https://httpstat.us/200, https://example.com/success, tried a postman url: https://60f26c46-7b7e-499f-8768-490a31398ba3.mock.pstmn.io/success. Nothing seems to be working.

console log: frames.txt

Same issue with me, using sample code provided in iOS documentation. Using my own success and Failure URL but the delegate is not fired.

from frames-ios.

jessjpj avatar jessjpj commented on July 4, 2024

Describe the bug I am not getting the callbacks in ThreedsWebViewControllerDelegate. All I can see is a white screen and security errors.
To Reproduce Steps to reproduce the behavior:

  1. create a redirect URL
  2. open the sample ios application
  3. paste the redirect URL in the 3ds field.
  4. tap on the button to navigate to OTP screen.
  5. enter OTP "Checkout1!"
  6. tap on submit button

Expected behavior should be redirected to the success screen with a callback on ThreedsWebViewControllerDelegate
Screenshots Screenshot 2023-02-21 at 9 40 27 AM
Desktop (please complete the following information):

  • OS: Ventura
  • Xcode: 14.1

Smartphone (please complete the following information):

  • Device: iPhone 11
  • OS: iOS 16

Additional context used sample success url: https://httpstat.us/200, https://example.com/success, tried a postman url: https://60f26c46-7b7e-499f-8768-490a31398ba3.mock.pstmn.io/success. Nothing seems to be working.
console log: frames.txt

Same issue with me, using sample code provided in iOS documentation. Using my own success and Failure URL but the delegate is not fired.

I found the solution. We have to set the success URL and failure URL while generating the redirect URL. and we have to pass the same success and failure ULRs to 3dscontroller. This will get the proper callback.

from frames-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.