简体   繁体   English

我如何使用 react js 支付 paytm 我已经在 Spring Boot 中构建了 api

[英]How do i make payment paytm using react js i have already build api in spring boot

I am trying to integrate paytm payment in my web app.我正在尝试在我的网络应用程序中集成 paytm 付款。 i am following Paytm payment gateway我正在关注Paytm 支付网关

Till step two it's working fine.直到第二步它工作正常。 but at step three i am not able to post request with paytm URL by using react js --"Customer fills payment details and completes the payment authentication. Once the payment is complete, response is posted as HTML form POST on your app/website's callback URL"但在第三步,我无法使用 react js 发布带有 paytm URL 的请求——“客户填写付款详细信息并完成付款身份验证。付款完成后,响应将作为 HTML 表单 POST 发布在您的应用程序/网站的回调上网址”

How do i do this in react js only.我如何只在 react js 中做到这一点。

You should handle the call back response through backend as checksum need to verify.您应该通过后端处理回调响应,因为校验和需要验证。 Also do the status query from backend before showing the success response to user在向用户显示成功响应之前,还要从后端进行状态查询

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在我的反应本机应用程序中通过 api 制作 paytm 的付款链接而不添加服务器 - How to make a Payment link of paytm through api in my react native app without adding a server 如何让用户使用 Node js 在 paytm 付款中输入应付金额 - How to let user enter payable amount in paytm payment using Node js 如何在 React 项目的构建中更改 api 地址? - How do I change the api addresses in the build of the React project? 如何将 MongoDB 添加到我已经取得很大进展的 React Web 应用程序中? - How do I add a MongoDB to a React Web App that I have already made lots of progress in? 如何使用带有 expressjs 后端的 create-react-app 在部署中正确进行 api 调用? - How do I properly make api calls in deployment using create-react-app with an expressjs backend? 如何使用 React 构建 UAT 环境? - How Do I Build For A UAT Environment Using React? 使用节点/角度,如何调用api(使用节点模块中的方法)并将数据发送到示波器? - Using Node/Angular, how do I make a call to an api (using methods from a node module) and have the data sent to the scope? 我如何一起构建反应和节点? - How do I build react and node together? 我有一个来自 api 的数据我如何在反应中以树的形式显示它 - I have a data coming from the api how do I display it in tree form in react 我如何让 npm 运行 React 应用程序的构建包含我的环境变量? - How do I have npm run build of a React app include my environment variables?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM