DEV Community

Shadab Ali
Shadab Ali

Posted on

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)