Closed PhoneixS closed 9 years ago
The local instrument code is specified as a constant that can't be configured. I need to change it from its default value CORE to COR1.
CORE
COR1
Exactly is coded in line 845 of PaymentInfo.php (the last line of this fragment of code):
PaymentInfo.php
protected function addPaymentTypeInfoToXml(\SimpleXMLElement $paymentInfo) { $paymentTypeInfo = $paymentInfo->addChild('PmtTpInf'); $serviceLevel = $paymentTypeInfo->addChild('SvcLvl'); $serviceLevel->addChild('Cd', self::SERVICE_LEVEL_CODE); $localInstrument = $paymentTypeInfo->addChild('LclInstrm'); $localInstrument->addChild('Cd', self::LOCAL_INSTRUMENT_CODE);
I think it can be like other properties.
I have accepted your improvement
Thanks
The local instrument code is specified as a constant that can't be configured. I need to change it from its default value
CORE
toCOR1
.Exactly is coded in line 845 of
PaymentInfo.php
(the last line of this fragment of code):I think it can be like other properties.