Cashfree in React and Next.js: the hosted checkout first, then card components in a 3D card

If you just want to take payments with Cashfree in a Next.js app, use its hosted checkout: a Server Action creates the order with cashfree-pg, the browser opens Cashfree's page with the payment_session_id, and your server checks the order status before you mark anything paid. It brings UPI, netbanking and wallets with it. This page shows that route, then the other one: Cashfree's card number, expiry and CVV components inside an animated 3D card that shows the brand and flips for the CVV.

Credit Card Checkout V1, preview

By buying you agree to the Terms.

Ready forCursorv0Lovableshadcn CLI

Full product pageReact · Tailwind · TypeScript