Skip to content

feat: let an account link leave out its refresh and return URLs - #369

Merged
Benzilla merged 1 commit into
mainfrom
feat/optional-account-link-urls
Dec 4, 2026
Merged

Benzilla merged 1 commit into
mainfrom
feat/optional-account-link-urls

Conversation

@Benzilla

@Benzilla Benzilla commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Description

An account link could not be created without a refresh_url and a return_url. Stripe lets a request leave both out, so one written for Stripe that did was refused.

Both are now optional. A link made without a return URL sends the seller to the dashboard when they finish, which the onboarding page already did when it had none.

Part of #278

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation

How Was This Tested?

  • Unit tests
  • Integration tests
  • Manual testing

A unit test builds the record of a link with neither URL. End-to-end tests create a link with neither, and check that a URL which is not one is still refused. The end-to-end suite passes with bodies sent as JSON and as forms.

Screenshots (if applicable)

Checklist

  • Self-reviewed my code
  • No new warnings
  • Existing tests still pass
  • Breaking changes are documented above

@Benzilla
Benzilla enabled auto-merge (squash) December 4, 2026 18:46
@Benzilla
Benzilla merged commit ac777b0 into main Dec 4, 2026
6 checks passed
@Benzilla
Benzilla deleted the feat/optional-account-link-urls branch December 4, 2026 18:48
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