beckn / strapi-plugins

0 stars 1 forks source link

Implement confirm API in BPP adapter plugin #13

Closed vishi24 closed 7 months ago

vishi24 commented 8 months ago

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

vishi24 commented 7 months ago

https://github.com/beckn/strapi-plugins/pull/28