Implementing the payment gateway entry point

The payment gateway entry point takes the URL parameters from the payment gateway URL that returns control to PolicyCenter and maps those parameters to a payment gateway response object. PolicyCenter provides a demonstration implementation of the payment gateway entry point in the PaymentGatewayEntryPoint.pcf file. This demonstration entry point transfers control to the PaymentGatewayForward.pcf file that processes the response and transfers control to the PolicyCenter user interface. This implementation builds the following parameters to build a URL to access the payment gateway:

The demonstration implementation of the payment gateway calls the PaymentGatewayForward.pcf file directly and does not use the entry point.

Edit the entry point file to use the URL parameters that your payment gateway provides. Edit the PaymentGatewayForward.pcf file to convert values from the entry point to a payment gateway response object and transfer control to the PolicyCenter user interface.