Newer Version Available

This content describes an older version of this product. View Latest

Creating a PaymentGatewayStatus Interface

Salesforce Billing implements the PaymentGatewayStatus interface to populate the TransactionResult’s GatewayStatus enum with the value of the return code that the external gateway set in transactionResult.

So, if you want your gateway package to process a chargeTransaction sent from Salesforce Billing, the package must implement chargeTransaction within a PaymentGatewayAPI class. Let’s see how this configuration looks in a sample CyberSource implementation.