Versions Compared

Key

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

...

  • generalparameterid, which is the id of the generalparameter 
  • generalparametername, which is the name of the generalparameter
  • generalparametertype, which is the type of the generalparameter 
  • generalparameterclassname, which is the classname of the generalparameter, if the generalparameter is a dataobject
  • generalparameterorder, which is the order of appearance of the generalparameter on the screen
  • generalparametervisibilitymode, which is the mode for which the generalparameter will be visible (TEST or LIVE)
  • generalparameterhidden, which is a boolean value indicating whether the generalparameter will appear masked with asterisks
  • generalparametermandatory, which is a boolean value indicating whether the generalparameter is mandatory


Ui expand
titleProvisioning providers Payment gateways metadata file


Code Block
languagexml
titlepaymentgateways.xml
collapsetrue
<paymentgatewaysconfig>
	<paymentgateways>
		<paymentgateway>
			<protocol>CUSTOM</protocol>
			<name>Custom Payment Gateway</name>
			<processejbname>ejb/CRMProcessCustomGateway</processejbname>
			<useforrecurringpayments>true</useforrecurringpayments>
			<createpayments>true</createpayments>
			<createpaymentcancellations>true</createpaymentcancellations>
			<createrefunds>true</createrefunds>
			<paymentmethods>
				<paymentmethod>
					<type>CREDIT_CARD</type>
					<name>key_credit_card</name>
					<controlVerification>true</controlVerification>
				</paymentmethod>
				<paymentmethod>
					<type>EMAIL_ADDRESS</type>
					<name>key_paypal_account</name>
					<controlVerification>true</controlVerification>
				</paymentmethod>
				...
			</paymentmethods>
			<generalparameters>
				<generalparameter>
					<generalparameterid>MODE</generalparameterid>
					<generalparametername>key_mode</generalparametername>
					<generalparametertype>STRING</generalparametertype>
					<generalparameterorder>1</generalparameterorder>
					<generalparametermandatory>true</generalparametermandatory>
				</generalparameter>
				<generalparameter>
					<generalparameterid>TEST_SECRET_KEY</generalparameterid>
					<generalparametername>key_secret_key</generalparametername>
					<generalparametertype>STRING</generalparametertype>
					<generalparameterorder>2</generalparameterorder>
					<generalparametervisibilitymode>TEST</generalparametervisibilitymode>
					<generalparameterhidden>true</generalparameterhidden>
				</generalparameter>
				<generalparameter>
					<generalparameterid>LIVE_SECRET_KEY</generalparameterid>
					<generalparametername>key_secret_key</generalparametername>
					<generalparametertype>STRING</generalparametertype>
					<generalparameterorder>3</generalparameterorder>
					<generalparametervisibilitymode>LIVE</generalparametervisibilitymode>
					<generalparameterhidden>true</generalparameterhidden>
				</generalparameter>
				...
			</generalparameters>
		</paymentgateway>
	</paymentgateways>
</paymentgatewaysconfig>


...