Orderconfim Mbox Call error

Avatar

Avatar

Knowledgeseeker98

Avatar

Knowledgeseeker98

Knowledgeseeker98

04-11-2020

Hello Experts,

We tried to add order confirm mbox call to send some data to target to utilize it in VIsitor profile
 
We are getting following error imediately once fire the mbox call rule: Failed to load resource: the server responded with a status of 400 ()
What could be the issue?
I'm adding error screenshot below.
 
 
Target Error.png

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

Jonasvvd

Employee

Avatar

Jonasvvd

Employee

Jonasvvd
Employee

20-11-2020

Hi @Knowledgeseeker98, sorry for the delay in my reply.

 

I believe you need to add the mandatory mbox parameters in your confirmation mbox.

 

adobe.target.trackEvent({
"mbox": "orderConfirmPage",
"params":{
"orderId": "ORDER ID FROM YOUR ORDER PAGE",
"orderTotal": "ORDER TOTAL FROM YOUR ORDER PAGE",
"productPurchasedId": "PRODUCT ID FROM YOUR ORDER PAGE, PRODUCT ID2, PRODUCT ID3"
}
});

 

https://experienceleague.adobe.com/docs/target/using/implement-target/client-side/deploy-at-js/imple...

 

I hope this helps.

 

Kind regards,

Jonas

Avatar

Avatar

Jonasvvd

Employee

Avatar

Jonasvvd

Employee

Jonasvvd
Employee

05-11-2020

Hi,

 

I believe it would be best if you shared how you have deployed the order confimation mbox and provide the code.

 

Kind regards,

Jonas