#538 — [Bug]: Template for one merchant cannot be selected on another merchant

Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned

Created: 2025-08-27 · Updated: 2025-08-28

Description

Steps to reproduce

To reproduce:

  1. In staging login under any partner account
  2. Create a custom template under one merchant (merchant A).
  3. Close that merchant and create new merchant (merchant B)
  4. On merchant’s B application select the template created on merchant’s A application
  5. Complete the application until the end and submit

You should get an error complaining about not finding fee with id xxxx-xxx-x-x

What was the expected behavior?

I expected it to submit correctly.

Screenshots

You should see an error like this one

Image

Investigation details

Reproduced under user 61896a2b-9c8e-4c25-ab4b-3d976ce9a093 with merchant 0f1e0b6c-3a41-48ab-bc71-c29a18460595 and fee_config_id=5. Got 404 {"detail":"Fee template not found for 61896a2b-9c8e-4c25-ab4b-3d976ce9a093 user."} response, [logs](https://portal.azure.com#@ca84ad29-936a-41a9-a523-35c3760c1302/blade/Microsoft_OperationsManagementSuite_Workspace/Logs.ReactView/resourceId/%2Fsubscriptions%2F9fada0e8-ad9d-4af4-ae3e-c50dadb7296c%2Fresourcegroups%2Frg-staging-twill-eastus%2Fproviders%2Fmicrosoft.operationalinsights%2Fworkspaces%2Fworkspacergstagingtwilleastusad9c/source/LogsBlade.AnalyticsShareLinkToQuery/q/H4sIAAAAAAAAA2WPPU%252FDMBCG9%252FwKKzOWHUhKO3ioMiCkwoAQa3VxL4lRbEc%252Bly78eK6FfkjccMO9H3qujSGDC5jW89zGQHHCTRxo226Kb3EYMaFobyyv4HFLwhhRWpCUYXBhkPngpkn2YGGHEoHynspCqX

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets