Salesforce Certified Integration Architect — Question 39

A company that is a leading provider of training delivers courses to students globally. The company decided to use Customer Community in order to allow students to log in to the community, register for courses and pay course fees. The company has a payment gateway that takes more than 30 seconds to process the payment transaction. Students would like to get the payment result in real time so in case an error happens, the students can retry the payment process.

What is the recommended integration approach to process payments based on this requirement?

Answer options

Correct answer: C

Explanation

The correct answer is C, as Continuation allows processes to run asynchronously, which is ideal for handling long-running payment transactions without blocking the user interface. Options A and B would not provide the real-time feedback necessary for students as they are more suited for event-driven or batch processing. Option D, while it provides a synchronous API call, would not handle the delay effectively and could lead to a poor user experience.