Cart work for payments and Paypal work to test
This commit is contained in:
23
modules/checkout/classes/Model/Checkout/Notify.php
Normal file
23
modules/checkout/classes/Model/Checkout/Notify.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* This class provides checkout capabilities.
|
||||
*
|
||||
* @package OSB
|
||||
* @subpackage Checkout
|
||||
* @category Models
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class Model_Checkout_Notify extends ORM_OSB {
|
||||
// Relationships
|
||||
protected $_has_one = array(
|
||||
'checkout'=>array('far_key'=>'checkout_id','foreign_key'=>'id'),
|
||||
);
|
||||
|
||||
public function process() {
|
||||
return $this->checkout->plugin()->notify($this);
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user