Added Direct Debit Amount to easily identify excess charges

This commit is contained in:
Deon George
2014-03-04 16:17:01 +11:00
parent 8301c0f6af
commit a329cc3179
4 changed files with 12 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ class Payment_Bulk_Ezypay {
$po->checkout_data = array('transid'=>$array[2].':'.$array[3]);
$po->date_payment = strtotime(str_replace('/','-',$array[8]));
$sbo = $po->account->service_billing->where('plugin_data','=',$array[3])->find();
$sbo = $po->account->service_billing->where('checkout_data','=',$array[3])->find();
if (! $sbo->loaded())
throw HTTP_Exception::factory(501,'No Service Billing Data for :aid (:pd)?',array(':aid'=>$aid,':pd'=>$array[3]));