create session & redirect to payment processor // cart - semods_Cart function checkout( $cart ) { } // api supporting gateways like paypal -> pay for cart items + paypal recurring hach // cart - semods_cart, can be null, e.g. in paypal case where it's retrieved from "custom" function pay( $cart = null, $params = array() ) { } /* * process IPN and similar callbacks from payment gateway * */ function process_notification() { } function create_checkout_blob($cart) { } function verify_plan_parameters(&$plan_info) { return true; } function get_supported_credit_cards() { return $this->supported_credit_cards; } function test_api( $params = array() ) { // not implemented return false; } } ?>