Exemple #1
0
 public function getPaymentNotes(\Jazzee\Entity\Payment $payment)
 {
     $arr = array('Transaction Number' => $payment->getVar('tx'), 'UCLA Reference Number' => $payment->getVar('UCLA_REF_NO'), 'Customer Code' => $payment->getVar('custcode'), 'Payment Code' => $payment->getVar('pmtcode'), 'Item Code' => $payment->getVar('itemcode'));
     return $arr;
 }
Exemple #2
0
 public function getPaymentNotes(\Jazzee\Entity\Payment $payment)
 {
     $arr = array('Check Number' => $payment->getVar('checkNumber'), 'Settlement Date' => $payment->getVar('checkSettlementDate'));
     return $arr;
 }
Exemple #3
0
 public function getPaymentNotes(\Jazzee\Entity\Payment $payment)
 {
     $arr = array('Transaction ID' => $payment->getVar('transactionId'), 'Authorization Code' => $payment->getVar('authorizationCode'));
     return $arr;
 }
Exemple #4
0
 /**
  * Record the reason the payment was refunded
  * @see ApplyPaymentInterface::rejectPaymentForm()
  */
 function getRefundPaymentForm(\Jazzee\Entity\Payment $payment)
 {
     $form = new \Foundation\Form();
     $field = $form->newField();
     $field->setLegend('Withdraw Application');
     $element = $field->newElement('Plaintext', 'justification');
     $element->setLabel('Justification');
     $element->setValue(htmlentities($payment->getVar('justification'), ENT_COMPAT, 'utf-8'));
     $element = $field->newElement('Textarea', 'refundedReason');
     $element->setLabel('Reason displayed to Applicant');
     $element->addValidator(new \Foundation\Form\Validator\NotEmpty($element));
     $form->newButton('submit', 'Withdraw Fee Waiver');
     return $form;
 }