QuestionQ53

VerifiedSalesforce Integration Patterns

A business-to-consumer (B2C) enterprise customer has the following Salesforce use case for processing a payment through an external payment-gateway service:

  1. A customer asks a Customer Service Representative (CSR) for a service upgrade.
  2. The customer gives the CSR credit-card details for payment.
  3. The CSR submits the payment information in Salesforce, where it is processed by an external payment gateway.
  4. The CSR receives payment confirmation.
  5. The CSR upgrades the customer’s service and confirms it to the customer.

This use case requires the CSR to receive payment confirmation before upgrading the service. The payment-gateway integration must be reliable and monitored for audit purposes. The payment gateway is an external RESTful service to which the B2C enterprise customer has subscribed.

What should an integration architect recommend for this integration?

Explanation

A synchronous request-reply integration through an ESB lets the CSR wait for the payment gateway’s confirmation before the service upgrade proceeds. The ESB can provide centralized error handling, logging, monitoring, and recovery controls needed for a reliable, auditable payment integration. Salesforce guidance identifies immediate payment-result display as a remote-process invocation request-reply use case and emphasizes error handling and recovery; it also identifies middleware as a way to provide error-handling and recovery logic.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!