Category: Frontend
Complexity: 200 points
Labels: frontend, wave-200
Context
Contract supports pay_per_use_to with recipient whitelist checks; frontend primarily wraps pay_per_use.
Problem
Users cannot route one-shot payments to an alternate recipient when merchants support it.
Goal
Optional recipient field with validation and clear MerchantNotWhitelisted errors.
Scope
Includes: form + stellar builder + tests.
Does NOT include: recipient marketplace.
Implementation Guidelines
- Files:
PayPerUseForm.tsx, stellar.ts, errors mapper.
Acceptance Criteria
Validation
Vitest.
PR Expectations
The PR should include:
Category: Frontend
Complexity: 200 points
Labels: frontend, wave-200
Context
Contract supports
pay_per_use_towith recipient whitelist checks; frontend primarily wrapspay_per_use.Problem
Users cannot route one-shot payments to an alternate recipient when merchants support it.
Goal
Optional recipient field with validation and clear MerchantNotWhitelisted errors.
Scope
Includes: form + stellar builder + tests.
Does NOT include: recipient marketplace.
Implementation Guidelines
PayPerUseForm.tsx,stellar.ts, errors mapper.Acceptance Criteria
Validation
Vitest.
PR Expectations
The PR should include: