-
Notifications
You must be signed in to change notification settings - Fork 672
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(checkout): Unset 'return_url' for embedded UI without redirection
Adjusts the checkout logic to unset 'return_url' when the UI is in 'embedded' mode and the 'redirect_on_completion' option is set to 'never'. This change addresses API constraints and prevents errors associated with empty 'return_url' values in no-redirect scenarios.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters