Thank you, the site was hosted in a local xampp server, it worked after moving it to an online test subdomain. I think that info should be remarked in the instructions, it was not clear for me that a local xampp site cannot get the paypal connection.