Last active
October 11, 2015 01:38
-
-
Save lorenzocaum/f7ae45fd2df92df8ba0d to your computer and use it in GitHub Desktop.
Enable auth & capture (saleonly) for various payment gateways for Shopp
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 | |
//* Do NOT include the opening php tag | |
//* Enable auth and capture for First Data for Shopp | |
add_filter('shopp_purchase_order_firstdata_processing',create_function('','return "sale";')); |
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 | |
//* Do NOT include the opening php tag | |
//* Enable auth and capture for Intuit Merchant Service for Shopp | |
add_filter('shopp_purchase_order_intuitmerchantservice_processing',create_function('','return "sale";')); |
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 | |
//* Do NOT include the opening php tag | |
//* Enable auth and capture for PayPal Pro for Shopp | |
add_filter('shopp_purchase_order_paypalpro_processing',create_function('','return "sale";')); |
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 | |
//* Do NOT include the opening php tag | |
//* Enable auth and capture for Stripe for Shopp | |
add_filter('shopp_purchase_order_stripe_processing',create_function('','return "sale";')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
References:
http://shopp101.com/blog/how-to-set-shopp-to-capture-payments/