Changed checkout_plugin_id to checkout_id and ADSL speed to SUPPLIER speed
This commit is contained in:
@@ -154,7 +154,7 @@ abstract class Checkout_Plugin_Paypal extends Checkout_Plugin {
|
||||
$po->fees_amt = $cno->data['mc_fee'];
|
||||
$po->total_amt = $cno->data['mc_gross'];
|
||||
$po->date_payment = strtotime($cno->data['payment_date']);
|
||||
$po->checkout_plugin_id = $this->co->id;
|
||||
$po->checkout_id = $this->co->id;
|
||||
$po->notes = $cno->data['txn_id'];
|
||||
$po->save();
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
class Model_Checkout extends ORM_OSB {
|
||||
protected $_has_many = array(
|
||||
'account'=>array('through'=>'account_billing','foreign_key'=>'checkout_plugin_id'),
|
||||
'account'=>array('through'=>'account_billing','foreign_key'=>'checkout_id'),
|
||||
'payment'=>array(),
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user