function sendpaymentmail()
 {
     AImporter::helper('email');
     $id = $this->input->get('id', 0);
     if ($id) {
         $mail = new EmailHelper($id);
         $check = $mail->sendPaymentMail();
     }
     if ($check) {
         $this->setMessage('Payment request is sent successfully!');
     } else {
         $this->setMessage('Payment request is sent failed', 'error');
     }
     $this->setRedirect('index.php?option=com_bookpro&view=order&layout=edit&id=' . $id);
     return;
 }