Skip to content

Add URL handling to Checkout#2601

Merged
erenbesel merged 3 commits into
developfrom
chore/handle_redirect
Jun 18, 2026
Merged

Add URL handling to Checkout#2601
erenbesel merged 3 commits into
developfrom
chore/handle_redirect

Conversation

@erenbesel

@erenbesel erenbesel commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary [Required]

Now that RedirectComponent is no longer public, we are adding URL handling method to the public Checkout namespace with a cleaner name and documentation

Checklist [Required]

  • Tested changes locally
  • Added/updated unit tests
  • Verified against acceptance criteria
  • Aligned public API changes with other platforms (if applicable)

@erenbesel erenbesel added the chore a pull request that has chore changes that shouldn't be in the release notes label Jun 18, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new public static method handleReturn(url:) to the Checkout enum, allowing developers to pass incoming URLs to the SDK to resume active redirect actions. The review feedback correctly identifies a missing import of the AdyenActions module, which is necessary to resolve the RedirectComponent reference and prevent a compilation error.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread AdyenCheckout/Setup/Checkout.swift Outdated
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

ℹ️ No baseline data found for 'develop'.

Framework Size
AdyenComponents.framework 2509 KB
AdyenActions.framework 2364 KB
AdyenDropIn.framework 1390 KB
AdyenDelegatedAuthentication.framework 158 KB
AdyenAuthentication.framework 347 KB
AdyenWeChatPay.framework 274 KB
AdyenUI.framework 3272 KB
AdyenCardScanner.framework 689 KB
AdyenEncryption.framework 506 KB
AdyenSession.framework 674 KB
AdyenTwint.framework 263 KB
AdyenWeChatPayInternal.framework 4135 KB
AdyenCheckout.framework 2397 KB
AdyenCashAppPay.framework 1764 KB
AdyenCard.framework 1724 KB
TwintSDK.framework 97 KB
Adyen3DS2.framework 919 KB
Adyen.framework 5169 KB
total 28651 KB

@atmamont atmamont left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀
Can you also update new v6 docs?

And maybe we should retire this folder?

@github-actions

Copy link
Copy Markdown
Contributor

👀 1 public change detected

Comparing chore/handle_redirect to develop
Platform: iOS

❇️1 Addition

AdyenCheckout

Checkout

❇️ Added

@discardableResult
@_Concurrency.MainActor
public static func handleReturn(url: Foundation.URL) -> Swift.Bool

Analyzed targets: Adyen, AdyenActions, AdyenCard, AdyenCardScanner, AdyenCashAppPay, AdyenCheckout, AdyenComponents, AdyenDelegatedAuthentication, AdyenDropIn, AdyenEncryption, AdyenSession, AdyenSwiftUI, AdyenTwint, AdyenUI, AdyenWeChatPay

@erenbesel erenbesel merged commit 336272b into develop Jun 18, 2026
16 of 19 checks passed
@erenbesel erenbesel deleted the chore/handle_redirect branch June 18, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore a pull request that has chore changes that shouldn't be in the release notes size:tiny

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants