Skip to content

"View Trip" button in travel receipt goes to wrong url #76440

Description

@blimpich

Problem

Coming from this issue. When a user books a trip with us we automatically issue a generated receipt. That receipt has a button on it and it is hyperlinked, but it goes to the wrong url.

Steps to Repro on Dev

  1. create an account
  2. follow this SO to create a travel policy and test trip locally
  3. go to that test trip and click on the expense with an attached receipt
  4. click on the receipt
  5. click on the button in the top right corner that says "view trip"

Expected Behavior

On dev or staging it should go to https://staging.travel.expensify.com/trips/$tripID

And on prod it should go to https://travel.expensify.com/trips/$tripID

Actual behavior

Goes to $base_url/trips/$tripID where base url is either https://dev.new.expensify.com:8082, https://staging.new.expensify.com, or https://new.expensify.com.

Screen capture

Screen.Recording.2025-12-01.at.9.57.16.AM.mov
Issue OwnerCurrent Issue Owner: @c3024

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

DailyKSv2InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in reviewTask

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions