Skip to content

[Bug]: ERROR - Merchant does not support mock_payment_handler. Aborting. #65

@wzhang-cbh

Description

@wzhang-cbh

Describe the bug

ERROR - Merchant does not support mock_payment_handler. Aborting.

To Reproduce

run the server and client.

Expected behavior

without error

Screenshots

No response

Additional context

ERROR - Merchant does not support mock_payment_handler. Aborting

A possible modification can be done in discovery_profile.json
Add...

{ "id": "mock_payment_handler", "name": "dev.ucp.mock_payment", "version": "2026-01-11", "spec": "https://ucp.dev/specs/mock", "config_schema": "https://ucp.dev/schemas/mock.json", "instrument_schemas": [ "https://ucp.dev/schemas/shopping/types/card_payment_instrument.json" ], "config": { "supported_tokens": ["success_token", "fail_token", "fraud_token"] } }

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions