Skip to content

fix(stripe): correct payment success redirect url (backport #216)#222

Merged
Vigneshsekar merged 1 commit into
version-16from
mergify/bp/version-16/pr-216
May 26, 2026
Merged

fix(stripe): correct payment success redirect url (backport #216)#222
Vigneshsekar merged 1 commit into
version-16from
mergify/bp/version-16/pr-216

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented May 26, 2026

Issue:

Stripe payment success redirect url is built incorrectly when redirect_to is empty. The flow appends redirect_to=None to the success url, which can break the page or lead to an invalid follow-up redirect. This change updates the redirect logic to append redirect_to only when it has a real value, preserving a valid success url.

Ref: #68040

Backport needed: v16, v15


This is an automatic backport of pull request #216 done by Mergify.

@Vigneshsekar Vigneshsekar merged commit cca07d9 into version-16 May 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants