Itau ShopLine ticket integration in PHP

0

I'm trying to develop an integration with the itau Itau Shopline online ticket system in PHP, but every time I send the data to the communication URL I get a page with this message:

  

Problems in encryption or the value field is incorrect. Enter in   contact SOS Itaú Bankline.

Originally the script for authentication is in Java, however I found this class in PHP that was recreated based on class original in Java.

What could be the reason for this error?

    
asked by anonymous 05.09.2017 / 19:23

2 answers

1

In this link says:

  

This error is related to Key, and can be caused by the incorrect registration of the key in the module settings, or because after the generation of the Key the same delay until 24hrs for release, in the latter case, wait for the release and try again, in case of error persist contact Itaú informing the occurrence.

    
05.09.2017 / 19:38
1

Good morning,

Just to contribute to other people who happen to be in the same situation I've been through, the problem is that the crappy documentation tells the client that he should generate the lowercase encryption key in the bankline but you in the code should necessarily use it in a mass.

$encrytionKey          = strtoupper('1g2a3u4h88s10201');

It was just to do that and that hideous popup (thing of the past that) opened. Here for us it's time for itau to update on these methods, they do not know REST no?

    
20.10.2018 / 18:22