ExamGecko
Question list
Search
Search

List of questions

Search

Question 217 - Certified B2B Commerce Administrator discussion

Report
Export

While working on a commerce rollout, a developer needs to update the checkout process so that buyers can purchase with one of the below payment types. ---------

m Ss

* Credit Card

* Purchase Order

* Contract Now & Pay Later

Additionally, the developer needs to show only Purchase Order and Contract Now & Pay

Later if a custom checkbox field on the account is checked.

How should the developer meet these requirements?

A.
Create a custom Lightning web component that can be used with the standard payment component. Use a publish-subscribe (pub-sub) model to listen to events from the standard component to determine which additional payment options should be shown.
Answers
A.
Create a custom Lightning web component that can be used with the standard payment component. Use a publish-subscribe (pub-sub) model to listen to events from the standard component to determine which additional payment options should be shown.
B.
Create a custom Lightning web component for the checkout flow that has all the options available. Within that component, pull data from the account to determine which options to show.
Answers
B.
Create a custom Lightning web component for the checkout flow that has all the options available. Within that component, pull data from the account to determine which options to show.
C.
Add a new payment gateway through the reference implementation steps so the payment shows up on the checkout payment screen. Configure the different payment options required.
Answers
C.
Add a new payment gateway through the reference implementation steps so the payment shows up on the checkout payment screen. Configure the different payment options required.
D.
Modify the standard payment component settings in the checkout screen flow and add the new payment method. Use the component visibility feature in screen flows to fulfill the account-based
Answers
D.
Modify the standard payment component settings in the checkout screen flow and add the new payment method. Use the component visibility feature in screen flows to fulfill the account-based
Suggested answer: B

Explanation:

To update the checkout process with different payment types, the developer should create a custom Lightning web component for the checkout flow that has all the options available. Within that component, the developer can pull data from the account to determine which options to show based on the custom checkbox field. This approach allows the developer to have full control over the payment logic and UI, and avoid using multiple components or events.Reference:

Checkout Flow Component (Aura) for B2B Stores

Lightning Web Components Developer Guide

asked 23/09/2024
ben ebrahimi
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first