Reputation: 156
I got it working from here https://github.com/paytm/paytm-pg-node-sdk-sample/blob/master/javascript/DemoApp.js I used this in express and it is working but now I want do it from react and payment has to be done from frontend.
Upvotes: 3
Views: 7226
Reputation: 51
I was also wondering how I can do that, then I tried the youtube video mentioned by Robokishan, But I found that things were not that good. As we use Reactjs we don't want to redirect our user to another page. So I contacted the Paytm dev support team and they suggested js checkout solution.
Let me go through the steps you can use to implement it in your react app
Please feel free to suggest some improvement or if you have any other better solution
Upvotes: 5
Reputation: 107
You can use paytm blink checkout solution as you already integrated node sdk for backend. Please refer the link blink checkout available on developer section of paytm. Sample code for react is available on github for blink checkout. https://github.com/paytm/paytm-blink-checkout-react
Upvotes: 0