In this example, the payment processor will require the following:
To create payment settings for your payment processor, you must perform the following:
NOTE: If you intend not to use test and live properties, you can skip the ProcessingMode and the TestMode properties. In this case you have to skip their representation in the configuration control too. For more information about the configuration control, see For developers: Create the settings control.
NOTE: If you intent not to use only live properties, create only one set of these properties and remove the prefixes from their names.
Following is a code example of a CustomPaymentProcessorSettings class.
NOTE: Make sure that you set the CustomPaymentProcessorSettings class as a public class.
CustomPaymentProcessorSettings : IPaymentSettings
TestMode ? TestUsername : LiveUsername;
TestMode ? TestPassword : LivePassword;
Back To Top