Hacker News new | ask | show | jobs
by ndboost 3722 days ago
this is essentially how stripe's implementation works.

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