Generate ticket in php banco santander

0

Greetings,

I'm in a complicated situation. I have a simple web system where the shipments of the tickets are generated by the supercash program of the bank santander and then the return of the titles are sent to my web system in a .csv file containing all the data of the tickets.

In practice, my system does not generate bundle shipping, it only displays the layout for printing. I use lib "boletophp.com.br/" for the santander bank, but there is a problem, the field our number in this lib has a limit that should be only 07 characters and the santander supercash program started to generate a field greater than this size.

$dadosboleto["nosso_numero"] = $infoBoleto->getNumero();  // Nosso numero sem o DV - REGRA: Máximo de 7 caracteres!

Result: The system stayed 2 months with the digitizable lines and barcode of the incorrect tickets and this is being accessed by the users.

I did it this way because I found it easier since the system was not intended to generate a return / return file, not counting the approval process that I still do not know how to do. Well the system worked well for 3 years, now started to give this problem.

Is there a way to generate the ticket (document) as in my case, just for printing? I already extract all the data from the .csv just do not know how to mount the barcode and digitable line alone. I have just been following the quoted lib, but I see that it has a limitation.

If you can guide me if I'm making a mistake or some way I can solve the problem, I'll be grateful.

    
asked by anonymous 05.02.2016 / 03:40

0 answers