Hello.
we are using commerce eventing and have an app created using adobe app builder which transforms the payload and creates order in shopify.
I noticed a strange issue with App Builder after one user's order failed to make its way from adobe commerce to Shopify for some reason.
There was another order from another customer which also should be created in Shopify. However, even though the order was created in Shopify with all valid data and shopify updated adobe commerce order with details, App Builder is still throwing the same error that we saw with first order for the second order. This doesn’t make sense, especially for a the order that already made into shopify.
Due to this error, App Builder keeps retrying the operation and is creating duplicate orders in Shopify with each retry. As a result, that customer now has 9 identical orders in Shopify. They are getting placed every 15 minutes (reference: https://developer.adobe.com/events/docs/common/retry-doc/ )
is there some documentation missing? any idea on why that should even happen?
Views
Replies
Total Likes
@Swap2357: Could you provide more details about your Developer Console project, particularly the event registration that is causing the retries? Sharing the URL would help.
Also have you tried looking at the Debug Tracing tab to see what could be the cause of these retries?
@Swap2357 could you share the following details?
- What error is throwing the runtime action?
- What response code is returning the runtime action?
That'll be helpful in figuring out what is causing the retries and the order repetition in Shopify
As per my understanding, The App Builder automatically triggers the retry mechanism when an executed action returns a 5xx response code. You can check the response code for event actions in the debug tracer.
<?php
return [
'io_events' => [
'the.order.event.you.have.subscribed' => [
'fields' => [
'entity_id',
'increment_id',
'created_at',
....
],
'enabled' => 1,
'rules' => [
[
'field' => 'status',
'operator' => 'in',
'value' => 'processing,completed'
]
]
]
]
];
Views
Replies
Total Likes