This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import web3 from "web3"; | |
export const login = (connectorID, chainId, walletName) => { | |
return async dispatch => { | |
try { | |
let account; | |
const connector = connectorsByName(connectorID, chainId); | |
const dt = { chainId, connectorID, walletName }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import CustomModal from "../Reusables/modals/CustomModal"; | |
import { getFormDetails, handleModal } from "../../Redux/actions"; | |
import { connect } from "react-redux"; | |
import { | |
CustomFormContainer, | |
InputValue, | |
MainLabel, | |
TextArea, | |
Select, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
</head> | |
<body> | |
<form > | |
<button type="button" onclick="payWithPaystack()"> Pay </button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"customer detail": { | |
"path": "/customerDetail", | |
"description": "Shows the history of one customer", | |
"params": { | |
customerId: 1 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-ms-viewport { | |
width: device-width; | |
} | |
html { | |
box-sizing: border-box; | |
-ms-overflow-style: scrollbar; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List of Payment Methods | |
Paystack-ref generation/ transaction verification | |
Monify-ref generation/ transaction verification | |
Xend login authorization | |
Charge Xend acct | |
Get Logged in user saved cards | |
Charge Xend user saved card |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let phoneNumber =/^(\+?234|0)(703|706|806|810|813|814|816|903|803|906|705|805|807|811|815|905|701|708|802|808|812|902|907|907|809|817|818|908|909)[0-9]{7}$/ |