Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printabletrue

...

  • Create a new keys to translate the error message:

    Code Block
    languagejson
    {
      ...
      "error.payment.2.005.title": "Purchase cancelled",
      "error.payment.2.005.cta": "Go Back to Checkout",
      "error.payment.2.005": "Your purchase has been successfully cancelled.",
      ...
    }

...

Info

It will be created a temporary feature flag: enable-cancellation-error-modal-on-payment-link

After the stories activation in prod, the feature flags will be removed.

  • Jira Legacy
    serverSystem Jira
    serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
    keyIBFEC-2647

  • Jira Legacy
    serverSystem Jira
    serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
    keyIBFEC-2856

  • Change the validation on isCanceledOperation

    • path: intl-whitelabel-app/workspaces/frontend/src/hooks/use-paycomet-pay-link-popup/utils.ts

    • before:

      Code Block
      languagetypescript
      export const isCanceledOperation = (e: MessageEvent) => {
        const isCanceledOperation =
          e.data &&
          typeof e.data === 'object' &&
          Object.values(CanceledCodeOperationType).includes(e.data?.body?.code);
      
        return !!(e.data === ClosedWindowType.CLOSED || isCancelation);
      };
    • after:

      Code Block
      languagetypescript
      export const isCanceledOperation = (e: MessageEvent) => {
        const isCancelation =
          e.data &&
          typeof e.data === 'object' && <FF_FLAG> &&
          Object.values(CanceledCodeOperationType).includes(e.data?.body?.code);
      
        return !!(e.data === ClosedWindowType.CLOSED || isCancelation);
      };

...

Info

Describe any additional cost this solution may imply.

🎛️ Configuration

Info

Include here any configuration required (Sanity, LaunchDarkly flags, etc.) required to enable the solution.

📈 Metrics

...

It will be created a temporary feature flag: enable-cancellation-error-modal-on-payment-link

After the stories activation in prod, the feature flags will be removed.

For this feature works, need to enable this feature flag: enable-rbi-error-2

📈 Metrics

Info

Measure the number of cancellations made by the user.

🗓️ Delivery Plan

Info

Link to the task or list of all the tasks required to deliver the solution, along with its progress.

...