Orderconfim Mbox Call error

Avatar

Avatar
Boost 3
Level 2
Knowledgeseeker98
Level 2

Likes

5 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
Knowledgeseeker98
Level 2

Likes

5 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
Knowledgeseeker98
Level 2

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 (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Employee
Jonasvvd
Employee

Likes

8 likes

Total Posts

8 posts

Correct reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 5
Employee
Jonasvvd
Employee

Likes

8 likes

Total Posts

8 posts

Correct reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
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

Answers (1)

Answers (1)

Avatar

Avatar
Boost 5
Employee
Jonasvvd
Employee

Likes

8 likes

Total Posts

8 posts

Correct reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 5
Employee
Jonasvvd
Employee

Likes

8 likes

Total Posts

8 posts

Correct reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
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