New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce B2B Commerce for Administrators Accredited Professional (AP-201) Exam - Topic 2 Question 63 Discussion

Actual exam question for Salesforce's B2B Commerce for Administrators Accredited Professional (AP-201) exam
Question #: 63
Topic #: 2
[All B2B Commerce for Administrators Accredited Professional (AP-201) Questions]

A developer is working on a storefront that needs to use a sophisticated pricing engine hosted as a service outside the org. Assuming security and trusts have been established, which two actions must the developer take?

Show Suggested Answer Hide Answer
Suggested Answer: A, C

To use a sophisticated pricing engine hosted as a service outside the org, the developer must take the following actions:

Make a call to the service. The developer must use an Apex class or a Lightning web component to make a callout to the external service using the appropriate protocol, method, headers, parameters, and body. The developer must also handle the response from the service and parse the data as needed. The developer must ensure that the external service is added to the Remote Site Settings in Salesforce to allow the callout.

Implement the sfdc_checkout.PriceCalculations interface. The developer must implement this interface in an Apex class to override the default pricing logic of B2B Commerce and use the custom pricing logic from the external service. The developer must implement the methods of this interface, such as calculateCartPrice, calculateLineItemPrice, calculateShippingPrice, and so on. The developer must also register the custom pricing class in CC Admin under Storefront > Pricing > Pricing Engine.Reference:

Callouts from Lightning Web Components

Create a Custom Pricing Engine


Contribute your Thoughts:

0/2000 characters
Rose
3 months ago
Not sure about that, what if the service goes down?
upvoted 0 times
...
Teresita
3 months ago
Totally agree with A and B! Makes sense.
upvoted 0 times
...
Beata
3 months ago
Wait, can you really use External Objects for this? Seems off.
upvoted 0 times
...
Eugene
4 months ago
I think using External Objects is a must too.
upvoted 0 times
...
Leigha
4 months ago
Definitely need to make a call to the service!
upvoted 0 times
...
Linwood
4 months ago
I’m leaning towards using External Objects and making the call, but I’m not entirely confident about the specifics.
upvoted 0 times
...
Simona
4 months ago
Implementing the sfdc_checkout.PriceCalculations sounds familiar, but I feel like there might be something else we need to do too.
upvoted 0 times
...
Roxanne
4 months ago
I remember practicing a question about using External Objects, but I can't recall if that's the right choice here.
upvoted 0 times
...
Bettyann
5 months ago
I think we definitely need to make a call to the service, but I'm not sure about the second action.
upvoted 0 times
...
Lorrie
5 months ago
This seems straightforward enough. I just need to make the call to the pricing service and then figure out how to incorporate that data into my storefront. The tricky part will be ensuring the integration is secure and reliable.
upvoted 0 times
...
Andra
5 months ago
Based on my understanding, the two key actions are to make a call to the external pricing service and then use that data in my application, likely through some kind of external object or custom code. I'll need to review the documentation on integrating with external services.
upvoted 0 times
...
Virgie
5 months ago
I'm a bit confused by the wording of the question. Does "make a call to the service" mean I need to implement some kind of API integration, or is there a more specific action I should take?
upvoted 0 times
...
Shanice
5 months ago
Okay, let's see. I think the first step is to make a call to the external service to get the pricing data. Then I'll need to figure out how to use that data in my storefront application.
upvoted 0 times
...
Rusty
5 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through the options and think about the key actions required to integrate with the external pricing service.
upvoted 0 times
...
Tennie
5 months ago
Okay, I think I've got it. The difference between the purchase price and the repurchase/sale price, plus the accrued interest, must represent the dollar price of the security. That's my best guess for the answer.
upvoted 0 times
...
Serita
5 months ago
Wait, I'm a bit confused. Is this asking about the TOGAF Architecture Governance Framework specifically, or just general TOGAF concepts? I want to make sure I understand the question properly before answering.
upvoted 0 times
...
Helaine
5 months ago
Hmm, I'm a bit unsure about this one. I'll need to think through the different options and how they connect to the overall goal of the risk self-assessment.
upvoted 0 times
...

Save Cancel