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.
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.
Fixes #1629