selected input @signup appears not selected when not checked #361
@@ -144,7 +144,7 @@ function ConfirmAddFund({
|
||||
const reqData = { amount: Number(__confirmData?.amount), currency: "NGN" };
|
||||
console.log("**** onSuccessPayment **** THIS WAS REACHED");
|
||||
apiURL
|
||||
.startTopUp(reqData)
|
||||
.resultTopUp(reqData)
|
||||
.then((res) => {
|
||||
if (res.data.internal_return < 0) {
|
||||
setRequestStatus({
|
||||
|
||||
@@ -577,17 +577,31 @@ class usersService {
|
||||
return this.postAuxEnd("/familymanage", postData);
|
||||
}
|
||||
|
||||
//END POINT CALL FOR ACCOUNT TOP
|
||||
// END POINT CALL FOR ACCOUNT TOP
|
||||
startTopUp(post) {
|
||||
alert("WHY ARE WE CALLING THIS ?");
|
||||
// var postData = {
|
||||
// uid: localStorage.getItem("uid"),
|
||||
// member_id: localStorage.getItem("member_id"),
|
||||
// sessionid: localStorage.getItem("session_token"),
|
||||
// action: 11062,
|
||||
// ...post,
|
||||
// };
|
||||
// console.log("starttopup",postData);
|
||||
// return this.postAuxEnd("/starttopup", postData);
|
||||
}
|
||||
|
||||
|
||||
resultTopUp(post) {
|
||||
var postData = {
|
||||
uid: localStorage.getItem("uid"),
|
||||
member_id: localStorage.getItem("member_id"),
|
||||
sessionid: localStorage.getItem("session_token"),
|
||||
action: 11062,
|
||||
action: 11061,
|
||||
...post,
|
||||
};
|
||||
console.log("starttopup",postData);
|
||||
return this.postAuxEnd("/starttopup", postData);
|
||||
console.log("topupresult",postData);
|
||||
return this.postAuxEnd("/topupresult", postData);
|
||||
}
|
||||
|
||||
//END POINT CALL FOR SENDING REFERRAL MESSAGE
|
||||
|
||||
Reference in New Issue
Block a user