Add headless APM Payment redirect mode#252
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a “headless” mode for the APM web redirect step so integrators can skip the intermediate “Continue to payment” / Pay button UI and automatically launch the PSP redirect flow when the redirect view is shown.
Changes:
- Introduces
redirect.enableHeadlessModeoption in the APM context/options (defaulting tofalse). - Updates the Redirect view to auto-trigger the redirect on mount and render a minimal loader UI in headless mode.
- Documents the new redirect configuration in the APM UI system docs.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/apm/views/Redirect.ts | Adds headless-mode loader UI + auto-redirect on mount. |
| src/apm/index.ts | Initializes redirect.enableHeadlessMode with a default and merges user config. |
| src/apm/Context.ts | Extends APM flow configuration types with redirect.enableHeadlessMode. |
| docs/apm-ui-system.md | Documents the new redirect option in the configuration example. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
3268e3a to
1ee063f
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1ee063f to
3617de6
Compare
3617de6 to
e2bbebb
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e2bbebb to
24fca54
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
24fca54 to
a8d1167
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
9b658c5 to
4e9698f
Compare
4e9698f to
6c87beb
Compare
Description
Solution
Demo
Checklist
yarn bump-versionNotes
Jira Issue