Result added
This commit is contained in:
@@ -144,7 +144,7 @@ function ConfirmAddFund({
|
|||||||
const reqData = { amount: Number(__confirmData?.amount), currency: "NGN" };
|
const reqData = { amount: Number(__confirmData?.amount), currency: "NGN" };
|
||||||
console.log("**** onSuccessPayment **** THIS WAS REACHED");
|
console.log("**** onSuccessPayment **** THIS WAS REACHED");
|
||||||
apiURL
|
apiURL
|
||||||
.startTopUp(reqData)
|
.resultTopUp(reqData)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.data.internal_return < 0) {
|
if (res.data.internal_return < 0) {
|
||||||
setRequestStatus({
|
setRequestStatus({
|
||||||
|
|||||||
@@ -590,6 +590,19 @@ class usersService {
|
|||||||
return this.postAuxEnd("/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: 11061,
|
||||||
|
...post,
|
||||||
|
};
|
||||||
|
console.log("topupresult",postData);
|
||||||
|
return this.postAuxEnd("/topupresult", postData);
|
||||||
|
}
|
||||||
|
|
||||||
//END POINT CALL FOR SENDING REFERRAL MESSAGE
|
//END POINT CALL FOR SENDING REFERRAL MESSAGE
|
||||||
sendReferralMsg(postData) {
|
sendReferralMsg(postData) {
|
||||||
var reqData = {
|
var reqData = {
|
||||||
|
|||||||
Reference in New Issue
Block a user