react-paysofter
Version:
This is a ReactJS package for integrating Paysofter payment gateway into your ReactJS application.
47 lines (41 loc) • 1.39 kB
JavaScript
// ConfirmPaysofterPromise.js
import React from "react";
import { Container, Row, Col, Button } from "react-bootstrap";
import 'bootstrap/dist/css/bootstrap.min.css';
const ConfirmPaysofterPromise = () => {
const handleConfirmPromise = () => {
window.location.reload();
window.location.href = "https://paysofter.com/promise/buyer";
};
return (
<Container>
<Row className="justify-content-center">
<Col>
<Row className="text-center py-2">
<Col>
{/* <h2 className="py-2 text-center">Confirm Paysofter Promise</h2> */}
</Col>
</Row>
<div className="py-2 text-center">
<h3 className="py-2 mb-2">Promise successfully created! </h3>
<p>
Is Promise fulfilled? Check your email or login to your Paysofter
account to check out the Promise status to confirm.
</p>{" "}
<span>
<Button
className="w-100 rounded"
type="button"
variant="primary"
onClick={handleConfirmPromise}
>
Confirm Promise (at Paysofter)
</Button>
</span>
</div>
</Col>
</Row>
</Container>
);
};
export default ConfirmPaysofterPromise;