Modify the confirm API based on the new approach that can handle new domains with configuration changes or minimal code-level changes.
Goals
[ ] Development of confirm API with the new approach and make a call back for on_confirm.
Expected Outcome
Confirm API as per the new approach that works seamlessly with all the existing domains and should be able to accommodate new domains. It should be working correctly and creating orders properly for both commerce and time booking use cases.
Acceptance Criteria
[ ] Confirm API working with all current domains.
[ ] On making confirm call, it should call back on_confirm with the correct response to the request.
Implementation Details
Add logic on confirm endpoint to fetch data using query engine.
Add logic for mutation on database to create an order.
Create JSONata file for transforming the query response to BECKN format.
Transform the query response to BECKN format using transformer and JSONata.
Description
Modify the confirm API based on the new approach that can handle new domains with configuration changes or minimal code-level changes.
Goals
Expected Outcome
Confirm API as per the new approach that works seamlessly with all the existing domains and should be able to accommodate new domains. It should be working correctly and creating orders properly for both commerce and time booking use cases.
Acceptance Criteria
Implementation Details
Add logic on confirm endpoint to fetch data using query engine. Add logic for mutation on database to create an order. Create JSONata file for transforming the query response to BECKN format. Transform the query response to BECKN format using transformer and JSONata.
Mockups / Wireframes
NA
Product Name
Beckn
Project Name
strapi-plugin
Organization Name:
FIDE
Domain
NA
Tech Skills Needed:
Strapi Node
Complexity
Medium
Category
Feature
Sub Category
API