Skip to content

Instantly share code, notes, and snippets.

@tylerhcarter
Created August 26, 2014 21:14
Show Gist options
  • Save tylerhcarter/4f337926cd34717ad3b4 to your computer and use it in GitHub Desktop.
Save tylerhcarter/4f337926cd34717ad3b4 to your computer and use it in GitHub Desktop.
<?php
class My_Gateway implements APP_Instant_Payment_Processor, APP_Recurring_Payment_Processor {
public function process( APP_Instant_Order $order, array $options ) {
// ... processing instructions
}
public function form() {
// ... return form fields
}
public function process_recurring( APP_Instant_Order $order, array $options ) {
// ... processing recurring transaction
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment