Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

153
Views
React can not POST

I have using a payment service.And this service posts a token to a react page.But the page showing CAN NOT POST error. enter image description here

Posted url is Callbackurl.The service posts the token correctly.There is no problem here.

And this is my react code of the requested url:

import React from "react";
import { connect } from "react-redux";
import { RootState } from "../../store/reducer";
import { bindActionCreators, Dispatch } from "redux";
import { History } from "history";

interface OwnProps {
  history: History<any>;
}

function mapStateToProps(state: RootState) {
  return {
    language: state.system.language,
    systemUserInfo: state.system.userInfo,
    formData: state.form.formData,
  };
}

function mapDispatchToProps(dispatch: Dispatch) {
  return {
    ...bindActionCreators(
      {
      },
      dispatch
    ),
  };
}

type HomeProps = ReturnType<typeof mapStateToProps> &
  ReturnType<typeof mapDispatchToProps> & OwnProps;

class Pay extends React.Component<HomeProps> {

  render() {
    return (
      <div className="mt-5">
        <div className="container">
          <div className="row">
            <div className="col-md-8 mt-5">
              <div className="row">
                <div className="card">
                  <div className="card-body">Ödeme İşlemi Onaylandı.</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    );
  }
}
export default connect(mapStateToProps, mapDispatchToProps)(Pay);

And this is the error:

enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!