-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NEED ASSIST] Testing the TWINT native integration on iOS #1783
Comments
@goergisn Do you have any news on this? I checked the demo app and I don't see that we are doing anything significantly different. I noticed that the documentation says that
But if I inspect the requests made by the app, I don't see any trace of that |
Hi @elitalon, I assume you are using the SPM integration with Advanced Flow (Not the Session integration) right? To double check an assumption, could you please add a breakpoint in following places of the Checkout SDK? The Something must go wrong in one of the places. |
@goergisn @nauaros I finally got a chance to look at this in more detail, apologies for the delay in my answer. We're indeed using the advanced integration with the TEST environment. As for the breakpoints, I set them in the places indicated and I've seen the following behaviour. In The other method is never called, but I'm not sure that's the expected behaviour. If I remove the In As far as I know, we don't have any other third-party build tool interfering with frameworks in build phases. What we have though is a post-action build step in the target's scheme to account for a known bug in Xcode: # https://developer.apple.com/documentation/xcode-release-notes/xcode-12_4-release-notes FB8761306
rm -rf "${TARGET_BUILD_DIR}/${TARGET_NAME}.app"/PlugIns/*.framework I hope that gives you a hint about what could be wrong. Thanks! |
Something I forgot in my previous comment is that these messages also appear in the logs of our app:
Our app also integrates Datatrans' SDK, which includes I'm saying this based in our current experience with other frameworks that have worked fine so far. But there's maybe something particular about |
Hi @elitalon this already helps a lot 👍 Now we have to make sure that you are sending the correct data to your (proxy) backend so it can send the correct data to the |
Hey @goergisn, I verified the request sent by the app and the In any case we still see the web based UI, not the native one. So we are going to check now how our proxy handles this request. Chances are, Java serialisation is dropping this I'll keep you posted, thanks a lot for the support so far. |
@goergisn It looks like the request ends up being deserialised into a Is there anything additional we have to configure so that the correct type (or subtype) gets used? For reference, we are currently using the version 28.2.0 of the Java API library. |
Hi @elitalon it looks like this is a limitation of the Java API Library do you mind creating an issue there? I will also check with our backend developers to get some more information. |
@goergisn There you go: Adyen/adyen-java-api-library#1360 |
Thank you for reporting and sorry for the inconvenience. |
@goergisn I am sorry for hijacking this thread but we have recently become aware of an issue with using the TWINT SDK if the app was built using Xcode 16 (links to the TWINT apps can't be opened). |
Hi @seanlabastille - Are you building with iOS 18? |
@nauaros We are building with Xcode 16 so the default SDK is iOS 18. A fix from TWINT should be available now. |
Closing the ticket as an update was released to the java library. There will be a release with the new Twint SDK soon as well. |
Thanks @goergisn, I'll keep you posted if we find something else. |
@goergisn Now that the we have updated the Java library and adjusted our backend, I can confirm that the drop-in is now receiving the response correctly. I'm however facing a crash similar to the one described in #1902. I will provide more details there, but I also wanted to comment it here for future reference. |
Describe the challenge
I'm trying to test the native integration of TWINT on an iOS app, following the steps in AdyentTwint documentation and targeting Adyen's Test environment.
I have installed TWINT's Configurator app, with the environment set to
INT
.Our app is configured with all 50
twint-issuerN
schemes and we are launching the drop-in as follows:The problem is that after tapping on the Twint option in the drop-in, I don't think we get the native TWINT integration, but rather a webshop interface:
Is there anything else that needs to be configured?
Documentation update (optional)
The guidelines in AdyentTwint documentation do not mention anything about the need of using TWINT's Configurator app to test the integration during development.
Screenshots
Added above as part of the description of the issue.
The text was updated successfully, but these errors were encountered: