Certified Integration Architect Exam QuestionsBrowse all questions from this exam

Certified Integration Architect Exam - Question 18


A business-to-consumer (B2C) enterprise customer has the following use case that involves processing payment from an external payment gateway service in Salesforce.

1. Customer requests Customer Service Representative (CSR) for a Service upgrade.

2. Customer provides credit card details to CSR for payment.

3. CSR submits payment information in Salesforce, and it is processed in an external payment gateway.

4. CSR receives confirmation of payment.

5. CSR upgrades service for customer and confirms customer.

This use case requires the CSR to obtain confirmation of payment before upgrading the service. The integration with the payment gateway needs to be reliable and monitored for audit purposes. The payment gateway service is an external RESTful service that the B2C enterprise customer has subscribed for.

What should an integration architect recommend for this integration?

Show Answer
Correct Answer: BD

For this integration, a custom Apex callout is the most appropriate solution. It allows the CSR to receive real-time confirmation of the payment from the external payment gateway, ensuring that the service upgrade can be processed without delay. Additionally, custom Apex callouts can be designed to handle error logging and incorporate audit logging features, which are crucial for maintaining reliability and monitoring the transaction process effectively. This ensures that all actions and responses are recorded for auditing purposes.

Discussion

3 comments
Sign in to comment
u39403918Option: B
Feb 14, 2024

This is a "Request and Reply" type Integration. Therefore using an ESB which is async is not appropriate. ESB wouldnt handle error logging either.

u39403918
Feb 14, 2024

C feels to be right one here for me

Paul421Option: D
May 31, 2024

Option C has no auditing, retry etc. option D - can handle retry and audit (use Platform Event - save before transaction end).

BlatantRegardOption: D
Jun 10, 2024

ChatGPT Response : Recommendation: Given the need for real-time payment confirmation, reliability, and auditing: Immediate Confirmation: The integration must support immediate confirmation of payment to ensure the CSR can proceed with upgrading the service without delay. Reliability and Monitoring: The solution must include error handling and logging to support audit requirements. Both C and D provide real-time integration capabilities. However, D offers more flexibility and control over error handling and logging, which is crucial for meeting the audit requirements. Correct Answer: D. Build a custom Apex callout to external payment gateway service and provide a success message to the CSR; the details of callouts and responses are logged for audit purposes. This approach ensures immediate payment confirmation, reliable error handling, and comprehensive logging for audit purposes.