Repository navigation
Conversation
…back to the Transak widget
Gamboster
marked this pull request as draft
October 22, 2026 13:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transak headless cards: pay by card in the app, with the Transak widget as fallback
Flow
BUY_CRYPTO.tokens.transakHeadlessUser, which is persisted encrypted like the existing partner token. A session the API rejects is cleared and the user signs in again.credit_debit_card), KYC requirement and saved cards. If KYC doesn't allow the order or any call fails, it falls back to the widget silently.TransakCard(@transak/ui-components-rn). 3DS opens in an in-app WebView and thesuccessUrl/failureUrlredirect is intercepted. If it ever leaves the app, the passthrough page brings the user back through the existing deep link.is_headless), and the flow ends in TransakSettings, as the widget flow does.Gating
buyCrypto.transak.config.headlessBuyEnabled === true. Off by default until Transak enables Headless Cards for our API key and whitelists the BWS IPs.Dependencies
@transak/ui-components-rn@0.6.0. JS only, no native changes. Itsexpo-web-browserpeer stays unmet; the package never imports it./v1/service/transak/headless/*endpoints + BWCtransakHeadless*methods) and a BWC bump.Not included
Pending
authorizationheader format, response/error shapes, quote validity while the card form is open, card form height.Jira: RN-3105