DEV Community

Shadab Ali
Shadab Ali

Posted on

2 1

Payments Made Easy

🔥Payments Made Easy🔥

Merchant services: (razorpay, stripe,etc)

We initiate a payment ( frontend ).

🎈 Make Requests for token from the merchant server.

🎈 When token is received on the frontend, you need to send it to your server (backend).

🎈 Only your server can communicate to the merchant server for actual payment.

🎈 Once actual payment is done, the merchant server sends a success message to your server, and your server can send it to your website.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay