Skip to content

[Due for payment 2026-07-17] [Certinia] R3 Sandbox: Add 'Connect to Certinia Sandbox' option #89443

Closed

Description

@yuwenmemon

Parent: Expensify/Expensify#589894
Design doc: https://docs.google.com/document/d/1qQXU4EIij-OyCpk6z8idi0ch0rP4XtIQ0770STZeF5E/edit

Scope

Add "Connect to Certinia Sandbox" as a third option in the Connect menu. The prerequisites flow and OAuth endpoint differ for sandbox; the rest of the configuration UI — Import, Export, Advanced — is identical to production and is unchanged.

The route already includes /:isSandbox? from Release 1, and CertiniaPrerequisitesPage.tsx already conditionally shows sandbox bundle URLs. The work here is just adding the popover entry and the translation key.

Implementation notes (from design doc)

1. POLICY_ACCOUNTING_CERTINIA_PREREQUISITES route in src/ROUTES.ts

Confirm getRoute accepts isSandbox?: boolean as the second argument and encodes it in the path:

getRoute: (policyID: string, isSandbox = false, backTo?: string) =>
    getUrlWithBackToParam(
        `workspaces/${policyID}/accounting/certinia/prerequisites/${isSandbox}` as const,
        backTo
    ),

CertiniaPrerequisitesPage.tsx already reads isSandbox from route params and shows sandbox bundle URLs conditionally — no page changes needed. getFinancialForceSetupLink(policyID, isSandbox) (or the equivalent connect call) already receives the flag.

2. src/components/ConnectToCertiniaFlow/index.tsx — Add third popover option

Add "Connect to Certinia Sandbox" as the second menu item (between "Connect" and "Reuse"):

{
    text: translate('workspace.certinia.prerequisites.connectSandboxButton'),
    onSelected: () =>
        Navigation.navigate(ROUTES.POLICY_ACCOUNTING_CERTINIA_PREREQUISITES.getRoute(policyID, true)),
},

3. src/languages/en.ts — Add sandbox translation key

certinia.prerequisites.connectSandboxButton = 'Connect to Certinia Sandbox'

Stub the corresponding entry in es.ts.

Tests (Release 3 verification)

  1. Connect menu shows all three options: "Connect to Certinia", "Connect to Certinia Sandbox", "Reuse existing connection".
  2. "Connect to Certinia Sandbox" navigates to prerequisites with isSandbox=true — Step 1 shows sandbox-specific bundle links.
  3. OAuth in Step 3 targets the Salesforce sandbox endpoint (validated by the backend FinancialForce::connectPolicy($authToken, $policyID, true)).
  4. Production "Connect to Certinia" flow unchanged.
Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. melvin-bot commented on May 2, 2026

    @melvin-bot

    Triggered auto assignment to Design team member for new feature review - @dannymcclain (NewFeature)

  2. changed the title [-]R3 Sandbox: Add 'Connect to Certinia Sandbox' option[/-] [+][Certinia] R3 Sandbox: Add 'Connect to Certinia Sandbox' option[/+] on May 5, 2026
  3. melvin-bot commented on May 5, 2026

    @melvin-bot

    @ChavdaSachin Whoops! This issue is 2 days overdue. Let's get this updated quick!

  4. melvin-bot commented on May 7, 2026

    @melvin-bot

    @ChavdaSachin Huh... This is 4 days overdue. Who can take care of this?

  5. melvin-bot commented on May 11, 2026

    @melvin-bot

    @ChavdaSachin Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  6. melvin-bot commented on May 13, 2026

    @melvin-bot

    @ChavdaSachin 10 days overdue. I'm getting more depressed than Marvin.

  7. 28 remaining items

  8. changed the title [-][Certinia] R3 Sandbox: Add 'Connect to Certinia Sandbox' option[/-] [+][Due for payment 2026-07-17] [Certinia] R3 Sandbox: Add 'Connect to Certinia Sandbox' option[/+] on Jul 10, 2026
  9. melvin-bot commented on Jul 10, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  10. melvin-bot commented on Jul 10, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.32-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-07-17. 🎊

    For reference, here are some details about the assignees on this issue:

  11. melvin-bot commented on Jul 10, 2026

    @melvin-bot

    BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@thelullabyy] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
    • [] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

    If no checklist is needed for this issue and you have the K2 extension, you can click: [no checklist button]

  12. melvin-bot commented on Jul 13, 2026

    @melvin-bot

    @thelullabyy Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  13. melvin-bot commented on Jul 15, 2026

    @melvin-bot

    @thelullabyy Eep! 4 days overdue now. Issues have feelings too...

  14. melvin-bot commented on Jul 16, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  15. melvin-bot commented on Jul 16, 2026

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@mallenexpensify)

    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2EngineeringNewFeatureSomething to build that is a new item.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions