Error at development of new payment gateway plugin
I'm developing a new gateway from my Classipress 3.2 site.
I'm following all instructions from documentation of the Gateway API (
http://docs.appthemes.com/developers...yment-gateway/).
But I came across an error!
The error message says that the APP_Gateway is not loaded yet!
But I made this in my plugin like the documentation says to guarantee that the APP_Gateway is loaded:
add_action( 'init', 'my_plugin_setup' );
function my_plugin_setup(){
include 'my-plugin-gateway.php';
}
So, I don't know where is the mistake!
Please, help-me!
(Sorry for my english, I'm brazilian and do not speak your language well)