Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Define the custom payment gateway in payment gateways metadata file.
  2. Create a custom enum to define authentication setting parameters. (optional)Create a custom business object class extending com.crm.businessobject.paymentgateway.CRMBOPaymentGatewaySettingBean.
  3. Create  a user interface class extending com.crm.process.paymentgateway.CRMUIPaymentGatewaySettingBean
  4. Create a custom process class extending com.crm.process.paymentgateway.CRMProcessPaymentGatewayBean
  5. Create a custom search page.
  6. Create a custom summary page for payment gateway requests.
  7. Create a custom data entry page for the payment gateway.
  8. Define the new menu options in menu options metadata file.
  9. Define a custom module in modules metadata file.

Note that all data object, business object, user interface and process class names should start with the custom project directory name:

...

Ui expand
titleProvisioning providers metadata file


Code Block
languagexml
titlepaymentgateways.xml
collapsetrue
<paymentgatewaysconfig>
	<paymentgateways>
		<paymentgateway>
			<protocol>CUSTOM_PAYMENT_GATEWAY</protocol>
			<name>CustomPaymentGateway<<name>Custom Payment Gateway</name>
			<processejbname>ejb/PAYEEZYCRMProcessPayeezyGateway</processejbname>
			<paymentmethods>
				<paymentmethod>
					<type>CREDIT_CARD</type>
					<name>key_credit_card</name>
					<controlVerification>true</controlVerification>
				</paymentmethod>
			</paymentmethods>
			<generalparameters>
				<generalparameter>
					<generalparameterid>mode</generalparameterid>
					<generalparametername>key_mode</generalparametername>
					<generalparametertype>java.lang.String</generalparametertype>
				</generalparameter>
			</generalparameters>
		</paymentgateway>
	</paymentgateways>
</paymentgatewaysconfig>


...