Created
August 26, 2014 21:14
-
-
Save tylerhcarter/4f337926cd34717ad3b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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