Closed lowbits closed 9 months ago
Thanks for submitting a PR!
In order to review and merge PRs most efficiently, we require that all PRs grant maintainer edit access before we review them. For information on how to do this, see the relevant GitHub documentation. Additionally, GitHub doesn't allow maintainer permissions from organization accounts. Please resubmit this PR from a personal GitHub account with maintainer permissions enabled.
This commit resolves an issue with the handling of 'return_url' in the checkout process. When the UI mode is 'embedded' and 'redirect_on_completion' is set to 'never', 'return_url' is now consistently unset. This change prevents errors related to passing an empty 'return_url' and ensures compatibility with scenarios where no redirection is intended upon completion.