Adobe's integration starter kit uses Adobe Developer App Builder to improve real-time connection reliability and reduce the time-to-market for integrations between Adobe Commerce and other back-office systems, such as ERPs, CRMs, and PIMs.
Apache License 2.0
9
stars
2
forks
source link
The actions/customer/external/updated/sender.js sendData method does not return a response #22
The actions/customer/external/updated/sender.jssendData method returns a response that can be checked by the actions/customer/external/updated/index.jsmain function to check the success or failure of the invocation.
logger.debug(`Start sending data: ${JSON.stringify(transformed)}`)
const result = await sendData(params, transformed, preProcessed)
if (!result.success) {
logger.error(`Send data failed: ${result.message}`)
return actionErrorResponse(result.statusCode, result.message)
}
This PR fixes a bug in the starter-kit that causes an error response when processing a be-observer.customer_update event
How Has This Been Tested?
The issue has been tested while working on a project based on the starter kit by sending a `be-observer.customer_update event and checking that it is successfully processed after deploying the change.
Screenshots (if appropriate):
N/A
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
The
actions/customer/external/updated/sender.js
sendData
method returns a response that can be checked by theactions/customer/external/updated/index.js
main
function to check the success or failure of the invocation.Related Issue
https://github.com/adobe/commerce-integration-starter-kit/issues/21
Motivation and Context
This PR fixes a bug in the starter-kit that causes an error response when processing a
be-observer.customer_update
eventHow Has This Been Tested?
The issue has been tested while working on a project based on the starter kit by sending a
`be-observer.customer_update
event and checking that it is successfully processed after deploying the change.Screenshots (if appropriate):
N/A
Types of changes
Checklist: