β Open Questions
The list of questions COOCO needs RideNDine to answer before the integration design can be finalized. Each question is numbered for easy reference in meetings.
All 8 questions are PENDING β awaiting responses from RideNDine.
π Question Listβ
| # | Topic | Question | Status | RideNDine Response |
|---|---|---|---|---|
| 1 | Endpoints | Do the paths in Expected API match RideNDine's API? | β³ PENDING | (to be filled) |
| 2 | Payment | Does RideNDine return client_secret (Stripe Elements) or checkout_url (redirect)? | β³ PENDING | (to be filled) |
| 3 | Quote | What is the quote expiration TTL? | β³ PENDING | (to be filled) |
| 4 | Idempotency | Which endpoints require the Idempotency-Key header? | β³ PENDING | (to be filled) |
| 5 | Webhooks | Is webhook URL registration done via dashboard, API or email? | β³ PENDING | (to be filled) |
| 6 | Merchant | Is re-sync required when store address or bank info changes? | β³ PENDING | (to be filled) |
| 7 | Compliance | Beyond the /merchants/sync payload, is any additional compliance data required? | β³ PENDING | (to be filled) |
| 8 | Contact | Who is RideNDine's technical point of contact for integration support? | β³ PENDING | (to be filled) |
π Question Detailsβ
Q1 β Confirm API Endpointsβ
Do the paths in Expected API match RideNDine's API?
COOCO has proposed paths such as /merchants/sync, /checkout/quote, /orders/create... If the paths differ, RideNDine needs to provide the correct endpoints.
Impact: If paths are wrong β the entire Directus Extension needs to be updated before Phase 1.
Q2 β Payment Modelβ
client_secret(Stripe Elements embedded directly) orcheckout_url(redirect to RideNDine's page)?
client_secret: COOCO embeds Stripe UI Elements intocookin-webβ smoother UX.checkout_url: COOCO redirects to RideNDine's hosted page β simpler to implement.
Impact: This decision directly affects the frontend implementation of Phase 4.
Q3 β Quote TTLβ
How long does a quote from
/checkout/quoteremain valid?
COOCO needs to know in order to:
- Display a countdown timer to the customer
- Automatically invalidate and request a re-quote if expired
- Handle
QUOTE_EXPIREDerrors correctly
Q4 β Idempotency-Keyβ
Which endpoints require the
Idempotency-Keyheader to be sent?
COOCO has prepared:
merchant_sync_{store_id}for/merchants/synccooco_order_{orders.id}for/orders/create
Needs confirmation on whether /payment/process and other endpoints also require it.
Q5 β Webhook Registrationβ
What is the process for registering webhook URLs?
Options:
- Self-register via the RideNDine dashboard
- Call a dedicated API endpoint
- Send the list by email for the RideNDine team to register manually
COOCO needs to know in order to prepare according to the correct process.
Q6 β Merchant Re-syncβ
When a chef updates the store address or bank information, does COOCO need to call
POST /merchants/syncagain?
If yes: COOCO will create a Directus Flow trigger when stores.bank_info or store_details.deliveryRegion changes.
Q7 β Compliance Requirementsβ
Beyond the default
/merchants/syncpayload, does RideNDine require any additional compliance documents?
e.g. national ID scan, business license, food handler certificate...
Q8 β Technical Contactβ
Who is RideNDine's technical point of contact for integration support?
COOCO needs:
- Name + email
- Communication channel (Slack / Telegram / email)
- Working hours / timezone