-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add hostedFields pattern#2 #17744
Conversation
5 flaky tests on run #41366 ↗︎
Details:
regression/asm/asm.emulation.core-e2e.cy.ts • 1 flaky test • B2C
regression/variants/apparel-checkout-flow.core-e2e.cy.ts • 1 flaky test • B2C
ssr/pages.core-e2e.cy.ts • 3 flaky tests • SSR
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This service is a duplicate of
spartacus/integration-libs/opf/checkout/core/services/opf-resource-loader.service.ts
It will be handled later in CXSPA-4714. I attempted to put this service in a facade but hit some prob.
...libs/opf/base/root/components/opf-payment-verification/opf-payment-verification.component.ts
Outdated
Show resolved
Hide resolved
…if cpnt & service
@@ -43,17 +45,25 @@ export class OccOpfPaymentAdapter implements OpfPaymentAdapter { | |||
protected config: OpfConfig | |||
) {} | |||
|
|||
header: { [name: string]: string } = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The header situation is part of CXSPA-4688 that will be merged soon. You can ignore. You won't be able to test it without it.
CXSPA-3879
1- from Verification Page (the existing one), add new logic to extract 'afterRedirectScriptFlag' param from URL.
2- call after-redirections-scripts GET request
3- load dynamic script from its response
4- create global function 'submitCompleteRedirect' and 'getRedirectParams' that will be called by dynamic script from step3