Jump to content

Get user's session


Recommended Posts

Hi!

 

My store sells courses by distance learning. We're developing a integration with Moodle, and we have ever to register the customers' CPF (a kind of Brazilian identity doc that I have to register its number). All the payment are made by PagSeguro (it's like PayPal). By secutrity questions, the PagSeguro never notify the CPF on the XML. If the customer would use a email on PagSeguro unlike the one registered on Prestashop, I can't get its CPF. The document is required to register on Prestashop, and I don't allow guests to buy.

 

I thought get the customer's id by the session, in the return page of PagSeguro. But I have never dealed with Prestashop sessions. How could I do this?

 

Sorry the bad English.

Thanks.

Link to comment
Share on other sites

×
×
  • Create New...