Skip to content

Commit 0cebd7a

Browse files
committed
fixes issue with conditional logic for sending invoices
1 parent 336052c commit 0cebd7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/class-paystack-forms-public.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,9 +2742,9 @@ function kkd_pff_paystack_submit_action()
27422742
$table,
27432743
$insert
27442744
);
2745-
// if("yes" == get_post_meta($insert['post_id'],'_sendinvoice',true)){
2745+
if("yes" == get_post_meta($insert['post_id'],'_sendinvoice',true)){
27462746
kkd_pff_paystack_send_invoice($currency, $insert['amount'], $fullname, $insert['email'], $code);
2747-
// }
2747+
}
27482748
}
27492749
if ($subaccount == "" || !isset($subaccount)) {
27502750
$subaccount = null;

0 commit comments

Comments
 (0)