You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

PTA problem with data after decryption

Accepted answer
19
Views
6
Comments
edited Jul 16, 2018 10:03AM in Customer Portal 6 comments

Content

We are trying to implement a PTA solution for our client. I am using pre_pta_decode and pre_pta_convert hooks to figure out what's going wrong.Decryption works fine as I can see the contact info are correct, but it doesn't create the parameters the rightway and I get a PTA error 5 (The p_userid string was passed in, but it did not have a value. This pair is required for login. )

Any help is appreciated !

Version

CP 3.6

Code Snippet

             -------------------------------URI REQUEST: /ci/pta/login/redirect/home_new1/p_li/wTjKi810Gc2P0Jev67kmkCZNb81AixzdirttBZ6z5EwoMcpy4INYNSfI59MITA5y3ZgU_fvmebCD2OR_E~ud2~MhhmJoewauO1Cg2R6yKFyQvKuhl9UWYPQ08RI6RFTL7r0flH7SAxGV6gGCxVlsK137SCoabl886PAfegbDkoqSwRBZ7TByn9xqwo5G~xFgLXWDLeEnJpEA_mk9iFokZLEvQmeEqDfaZFaQJB6YFpuPtKt7IUOcalILMPmDOS1imoMofHJGzyvfOrBa9P1jps5MjCxVP5vL3mg4RU3zH44m3egIyb0Hq~iYkUhyzaN_JP4gaywkfFfIYBdZH4zY4isKjlxZ8gXsPZNmh10D67onRNyG0sd4I3sDOwmQRl18kTW4Z4LcbcNvpqGMFYd_fQ**

-------------------------------
12:52:59 core/compatibility/optimized_includes.php::1574 Custom\Models\hooksModel::printdata2: hookData2: Array
(
[data] => Array
(
[p_li] => wTjKi810Gc2P0Jev67kmkCZNb81AixzdirttBZ6z5EwoMcpy4INYNSfI59MITA5y3ZgU_fvmebCD2OR_E~ud2~MhhmJoewauO1Cg2R6yKFyQvKuhl9UWYPQ08RI6RFTL7r0flH7SAxGV6gGCxVlsK137SCoabl886PAfegbDkoqSwRBZ7TByn9xqwo5G~xFgLXWDLeEnJpEA_mk9iFokZLEvQmeEqDfaZFaQJB6YFpuPtKt7IUOcalILMPmDOS1imoMofHJGzyvfOrBa9P1jps5MjCxVP5vL3mg4RU3zH44m3egIyb0Hq~iYkUhyzaN_JP4gaywkfFfIYBdZH4zY4isKjlxZ8gXsPZNmh10D67onRNyG0sd4I3sDOwmQRl18kTW4Z4LcbcNvpqGMFYd_fQ**
[redirect_to] => home_new1
)

)

12:52:59 core/compatibility/optimized_includes.php::1574 Custom\Models\hooksModel::printdata: hookData: Array
(
[data] => Array
(
[decodedData] => Array
(
[p_userid] => [email protected]&p_passwd=******&[email protected]&p_name.first=NATASA&p_name.last=GK&p_custom_a3.ffn=&p_custom_a3.tier=None
)

)

) 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!