manifest.json looks like this
"name": "PostCartCheckoutTrigger",
"description": "Post Cart Checkout Trigger.",
"triggerType": "PostCartCheckout",
"modulePath": "Extend/Triggers/PostCartCheckoutTrigger"
}
Hi All,
You need to use the trigger type PostCartCheckoutTransaction for PostCartCheckoutTrigger.
To find all the trigger types (since they are not mentioned in the documentation—if anyone has them, please share), you can use the Store Commerce source code.
Open the following file in your editor (VS Code is recommended):
C:\Program Files\Microsoft Dynamics 365\10.0\Store Commerce\Microsoft\contentFiles\Pos\ExtensibilityFramework\Pos.ExtensibilityFramework.js
Search for the error message:"Loading trigger handler failed because of invalid trigger type"
Add the following console.log
statements as shown in the image above:
Close and reopen Store Commerce, check inspect to see the list of cancelable and non-cancelable trigger types.
Laurens vd Tang
171
Super User 2025 Season 1
André Arnaud de Cal...
140
Super User 2025 Season 1
Mohamed Amine Mahmoudi
127
Super User 2025 Season 1