Difficulty Level: Medium
Description:
Build a "Point of Sale" (POS) style screen that allows a merchant to quickly generate a new invoice on the fly. This is critical for face-to-face transactions.
Acceptance Criteria:
- Input Form:
- Amount: Numeric input with validation (must be > 0).
- Asset: Dropdown or toggle to select currency (Native XLM or USDC).
- Memo/Note: Optional text field for internal tracking.
- Submission: Submit the form data to the backend
POST /invoices endpoint.
- Immediate Feedback: Upon success, immediately transition to a "Payment Request" view displaying the QR Code.
- QR Code Generation: Generate a QR code that encodes the payment details. This should ideally follow the Stellar URI scheme (
web+stellar:pay...) or a format the Invoisio app can parse.
- Validation: Ensure the user cannot submit invalid data.
Difficulty Level: Medium
Description:
Build a "Point of Sale" (POS) style screen that allows a merchant to quickly generate a new invoice on the fly. This is critical for face-to-face transactions.
Acceptance Criteria:
POST /invoicesendpoint.web+stellar:pay...) or a format the Invoisio app can parse.