Skip to content

fix(payments-next): Unexpected number of cancel interstitial offers found for api identifier, intervals, and locale#19890

Merged
elizabeth-ilina merged 1 commit intomainfrom
polish-offers-len
Jan 15, 2026
Merged

fix(payments-next): Unexpected number of cancel interstitial offers found for api identifier, intervals, and locale#19890
elizabeth-ilina merged 1 commit intomainfrom
polish-offers-len

Conversation

@elizabeth-ilina
Copy link
Copy Markdown
Contributor

@elizabeth-ilina elizabeth-ilina commented Jan 14, 2026

Because

  • 0 and 1 are expected, more than 1 isnt. Right now, Sentry reports an issue when offers.length is not 1.

This pull request

  • Changes if (offers.length !== 1) { to if (offers.length > 1

Closes: PAY-3470

Issue that this pull request solves

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

@elizabeth-ilina elizabeth-ilina marked this pull request as ready for review January 14, 2026 22:51
@elizabeth-ilina elizabeth-ilina requested a review from a team as a code owner January 14, 2026 22:51
@elizabeth-ilina elizabeth-ilina changed the title fix(payments-next): Update offers length Sentry error fix(payments-next): Unexpected number of cancel interstitial offers found for api identifier, intervals, and locale Jan 14, 2026
@elizabeth-ilina elizabeth-ilina force-pushed the polish-offers-len branch 2 times, most recently from 1bb6231 to 1219129 Compare January 14, 2026 23:21
Because:

* 0 and 1 are expected, more than 1 isnt. Right now, Sentry reports an issue when offers.length is not 1.

This commit:

* Changes if (offers.length !== 1) { to if (offers.length > 1
@elizabeth-ilina elizabeth-ilina merged commit 253a8fd into main Jan 15, 2026
20 checks passed
@elizabeth-ilina elizabeth-ilina deleted the polish-offers-len branch January 15, 2026 12:20
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.

2 participants