CLient side library handles the CC and token generation. Server side you use that token to call stripes backend to process the payment.