You will connect at Bayonne (not Biarritz) for SJPdP. You can buy a ticket all the way, but the Bayonne to SJPdP is a no-reservation train with standing permitted. Buses are being substituted for trains at the moment, but the buses leave from the train station.