In this step, you will update the CreditCardOnline payment
method configuration to use the payment system defined in step 6 and
update the credit card payment methods to use the CreditCardOnline
payment method configuration.
Procedure
- Update the CreditCardOnline payment method configuration:
- Open the WC_eardir/xml/config/payments/edp/groups/default
directory.
- Make a backup of PaymentMethodConfigurations.xml.
- Open PaymentMethodConfigurations.xml for
editing.
- Locate the following element:
<PaymentMethodConfiguration humanEditable="true"
maximumAmount="Unbounded" minimumAmount="0"
name="CreditCardOnline" partiallyConsumable="true"
paymentSystemName="Paymentech" priority="MEDIUM"
refundAllowed="true" systemEditable="true"/>
- Change
paymentSystemName="Paymentech"
to
paymentSystemName="MyPaymentSystem"
- Update the credit card payment methods:
- Open the WC_eardir/xml/config/payments/edp/groups/default
directory.
- Make a backup of PaymentMappings.xml.
- Open PaymentMappings.xml for editing.
- Locate the following element:
<Mapping paymentActionRule="Early Approval"
paymentConfiguration="CreditCardOnline" paymentMethod="VISA"/>
- Change
paymentConfiguration="CreditCardOffline"
to
paymentConfiguration="CreditCardOnline"
- Repeat for the payment methods Master Card and AMEX.
- Close the file and save the changes.