digitick / php-sepa-xml

* THIS PROJECT IS NO LONGER MAINTAINED* SEPA file generator in PHP
107 stars 63 forks source link

number of transaction is false #2

Closed TimotheeBtn closed 11 years ago

TimotheeBtn commented 11 years ago

The number of transaction is incorrect.

There is two incrementation of the number in SepaPaymentInfo : $this->numberOfTransactions++;

This is the way i've corrected it in SepaTransferFile //$this->numberOfTransactions += $this->payment->getNumberOfTransactions();

ianare commented 11 years ago

Could you check with the latest commit please? This should be fixed now (different way of adding the payment). Thanks.