Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E704 Exam - Topic 5 Question 81 Discussion

You are reviewing a custom observer for the event sales_order_save_after which is fired when an order is placed on the storefront. The observer is sending a remote request to an analytics system with the order data.What issue may this observer cause?
A) In case of an error in the observer the order will not be saved in the database
B) The payment status is not available at the moment when the order is saved
C) The final price for the order is not available on the sales_order_save_after event
D) This event will not be fired if the order is placed through the WebAPI

Adobe AD0-E704 Exam - Topic 5 Question 81 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 81
Topic #: 5
[All AD0-E704 Questions]

You are reviewing a custom observer for the event sales_order_save_after which is fired when an order is placed on the storefront. The observer is sending a remote request to an analytics system with the order data.

What issue may this observer cause?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Katheryn
3 days ago
I disagree with A, the order should still save even if the observer fails.
upvoted 0 times
...
Gwenn
8 days ago
D) Wow, didn't know that! WebAPI orders are tricky.
upvoted 0 times
...
Tanesha
14 days ago
C) I thought final price was set earlier?
upvoted 0 times
...
Ling
19 days ago
B) makes sense, payment info isn't ready yet.
upvoted 0 times
...
Jin
24 days ago
A) is definitely a risk, could break the whole process.
upvoted 0 times
...
Leonor
29 days ago
I feel like I read that the event might not trigger for WebAPI orders, so option D could be a possibility too.
upvoted 0 times
...
Alishia
1 month ago
I practiced a similar question, and I recall that the final price might not be available at that stage, so option C could be a valid concern.
upvoted 0 times
...
Brett
1 month ago
I think option B makes sense because the payment status might not be set yet when the order is saved, right?
upvoted 0 times
...
Maryrose
1 month ago
I remember something about observers and how they can affect the order process, but I'm not sure if they can actually prevent the order from being saved.
upvoted 0 times
...

Save Cancel