Skip to content

Conversation

@Jon-edge
Copy link
Collaborator

@Jon-edge Jon-edge commented Oct 31, 2025

Pending Master Services Agreement approval

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

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

Disables the infinite ramp via global constraints and adds constraint-based pre-checks (default wire) to Infinite’s support and quote flows.

  • Ramps
    • Constraints: Globally disable infinite provider in src/plugins/ramps/rampConstraints.ts.
  • Infinite Plugin (src/plugins/ramps/infinite/infiniteRampPlugin.ts)
    • Add global constraint pre-checks using validateRampCheckSupportRequest and validateRampQuoteRequest.
    • Define DEFAULT_PAYMENT_TYPE as wire and use it in support/quote validation.

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


Copy link
Contributor

@samholmes samholmes left a comment

Choose a reason for hiding this comment

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

Small nit to make sure that we locate the 'wire' payment type in a SUPPORTED_PAYMENT_TYPE constant.

}

// Global constraints pre-check
const paymentTypes: FiatPaymentType[] = ['wire']
Copy link
Contributor

Choose a reason for hiding this comment

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

Make 'wire' a constant at the top of the module and use it here and in the RampQuote instances

const quoteConstraintOk = validateRampQuoteRequest(
pluginId,
request,
'wire'
Copy link
Contributor

Choose a reason for hiding this comment

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

Re-use a constant for this 'wire' value.

Pending Master Services Agreement approval
@Jon-edge Jon-edge force-pushed the jon/disable-infinite branch from 7b2eff0 to 9232762 Compare October 31, 2025 20:37
@samholmes
Copy link
Contributor

@Jon-edge also line 525 needs treatment

@Jon-edge Jon-edge merged commit e189e3c into develop Oct 31, 2025
3 checks passed
@Jon-edge Jon-edge deleted the jon/disable-infinite branch October 31, 2025 20:53
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.

3 participants