FIX_UPDATE_QUERY_PAYMENT_STATUS
This commit is contained in:
parent
b109ecb3c9
commit
0f6ca6b247
@ -608,7 +608,7 @@ public function create_or_update_subscription($invoice_id,$invoice_status, $msg_
|
||||
public function checkPaymentStatus($membership_id){
|
||||
log_message("error","Function Called");
|
||||
try {
|
||||
$id = $this->paymentModel->where('membership_id', $membership_id)->first()['id'];
|
||||
$id = $this->paymentModel->where('membership_id', $membership_id)->where('payment_status','Not Received')->first()['id'];
|
||||
if ($id) {
|
||||
$data['status'] = 999999;
|
||||
$data['payment_status'] = "Approved";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user