# Checkout v4 prototype — change log

Prototype: `tradom-payment-checkout-jpy_v4.html`. Each change is a marked block in the file and can be switched off with its flag. Pre-change copies are in `_backup/`.

## 2026-11-10

### 1. EVM wallet screening on connect: blocked state (TP-751)

Flag: `TP751`. Preview from the Prototype menu: 3c, 3d, 3e.

- While screening runs on Confirm, the From row shows "Checking". A clear wallet shows "Verified" and the rate locks as before.
- **Blocked (retries left):** message "This wallet can't be used for this payment. Try another wallet." Pay, wallet balance, recipient and warnings are hidden. One primary button, "Use another wallet", releases the block and returns to Connect. No rate lock.
- **Blocked (no retries left, 3rd block):** message "This wallet can't be used for this payment. Please contact Demo Shop about order TD-1024." Button "Return to shop". Back is hidden, so no other wallet can be tried.
- **Didit unavailable:** the buyer continues as normal, but the "Verified" tag is not shown, because the wallet was not screened.
- The remaining retry count is not shown to the buyer.
- Copy stays neutral on purpose: it does not say the wallet failed screening, so a flagged party is not tipped off.

Differs from the current TP-751 text:
- TP-751 says "Pay is disabled". The prototype hides Pay and makes "Use another wallet" the primary button.
- TP-751 says "…Please contact the shop." The prototype names the shop and the order number, and adds "Return to shop".
- New: "Checking" status while screening runs, and no "Verified" tag when screening fails open.

### 2. Network mismatch banner removed from Confirm (EVM)

- Removed "Your wallet is on a different network. Switch it to Ethereum before paying. Switch".
- Suggested for the build (not decided yet): when Pay is pressed and the wallet is on the wrong network, ask the wallet to switch networks (`wallet_switchEthereumChain`) before sending the payment request.

### 3. TRON send screen: wallet check notice

Flag: `TRON_CHECK_NOTICE`.

- Shown on the TRON send screen only when the buyer has not completed the 0.10 USDT test transfer (the TRON wallet check).
- Copy: "We run a security check on the wallet you send from. To complete your payment safely, go back and send a 0.10 USDT test first." Link: "Send a test first" releases the rate and opens the test screen.
- Hidden after the test transfer is received, after the time limit passes, and on the EVM "Send manually" path.
- Updates TP-751's line "Tron is unchanged".

### 4. Choose screen: wallet scan note

Flag: `EVM_SCAN_NOTE`.

- A small note is always shown above the payment options, for every network: "We check every wallet used for payment." Kept general on purpose: no stated purpose, no promise of when the check runs (it is skipped during a Didit outage).

## 2026-11-12

### 5. Unsupported items screen after redirect

Flag: `UNSUPPORTED_ITEMS`. Preview from the Prototype menu: 0b.

- Shown right after the buyer places the order with "Pay with Crypto (Stablecoin)" and is redirected to TRADOM Payment, before Choose.
- Copy: "Oops!" / "We are unable to process this order for you. Please return to the shop and choose a different payment method." Button "Return to Demo Shop" takes the buyer back to the shop's payment step.
- The header shows only the order, shop and JPY amount. The stablecoin amount, rate and time limit are hidden, since no coin has been chosen.
- The copy does not mention the items or give a reason.
- While the flag is on, Place order always lands on this screen. The payment flow is still reachable from the Prototype menu (01 Choose).
