Skip to content

fix(stripe): correct payment success redirect url#228

Open
Priyashanmugasundaram005 wants to merge 1 commit into
frappe:version-15-hotfixfrom
aerele:v15-hotfix-stripe-payment-success-redirect
Open

fix(stripe): correct payment success redirect url#228
Priyashanmugasundaram005 wants to merge 1 commit into
frappe:version-15-hotfixfrom
aerele:v15-hotfix-stripe-payment-success-redirect

Conversation

@Priyashanmugasundaram005
Copy link
Copy Markdown

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

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.

1 participant