Skip to content

Fix Infinite push transfer payload#5976

Open
j0ntz wants to merge 5 commits intodevelopfrom
jon/fix/infinite-push-transfer-source
Open

Fix Infinite push transfer payload#5976
j0ntz wants to merge 5 commits intodevelopfrom
jon/fix/infinite-push-transfer-source

Conversation

@j0ntz
Copy link
Contributor

@j0ntz j0ntz commented Mar 11, 2026

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

Asana task

Asana task

Context

Infinite buy confirmations were creating a push-payment onramp transfer with source details attached, which Infinite flagged as invalid for this flow.

  • Split Infinite transfer requests into explicit onramp and offramp payload variants.
  • Remove source details from the Infinite buy/onramp transfer request.
  • Drop the now-unused flow plumbing from the confirmation call path.

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Note

Medium Risk
Touches the Infinite buy/onramp transfer creation payload and confirmation workflow, so regressions could break bank-transfer purchases or deposit-instructions navigation. Changes are scoped to the Infinite ramp and related UI strings/layout.

Overview
Fixes Infinite bank-transfer buy flow by sending explicit ONRAMP/OFFRAMP transfer request shapes and removing invalid source fields from the onramp payload.

Improves bank routing details handling by requiring deposit instructions (throws if missing), navigating back with popToTop, and expanding the routing details UI to show beneficiary name, reference/memo, and recipient address (including parsing a single-line address), with updated copy strings.

Tweaks ramp confirmation error handling so the slider always resets after confirm attempts.

Written by Cursor Bugbot for commit 089545c. This will update automatically on new commits. Configure here.

Use a discriminated union for transfer request types so the buy and
sell payloads stay distinct.  For onramp (push payment), include only
source.currency — no account ID or network — matching what the
Infinite headless API expects.
@j0ntz j0ntz force-pushed the jon/fix/infinite-push-transfer-source branch from c19ef4f to 4a873a8 Compare March 12, 2026 19:16
Move reset() from the catch block into finally so the SafeSlider
returns to its idle state on both success and error paths.  Previously
a successful transfer with no deposit instructions left the slider
spinning indefinitely.
@j0ntz j0ntz force-pushed the jon/fix/infinite-push-transfer-source branch from 4a873a8 to 50009aa Compare March 12, 2026 19:24
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@j0ntz j0ntz force-pushed the jon/fix/infinite-push-transfer-source branch from 0844935 to 089545c Compare March 17, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant