Skip to content

Instantly share code, notes, and snippets.

@xlplugins
Created June 28, 2022 13:51
Show Gist options
  • Save xlplugins/8fc8e3c4b97baabd67032d25e3683283 to your computer and use it in GitHub Desktop.
Save xlplugins/8fc8e3c4b97baabd67032d25e3683283 to your computer and use it in GitHub Desktop.
Payoneer Checkout Compatability Added with Funnel Checkout
class WFACP_Compatibility_With_Payoneer_Checkout_Gateway {
public function __construct() {
/* checkout page */
add_action( 'wfacp_after_checkout_page_found', [ $this, 'actions' ] );
}
public function actions() {
add_action( 'wfacp_internal_css', [ $this, 'internal_css' ] );
add_action( 'wfacp_checkout_before_order_review', function () {
echo '<div id=order_review>';
} );
add_action( 'wfacp_checkout_after_order_review', function () {
echo '</div>';
} );
}
}
new WFACP_Compatibility_With_Payoneer_Checkout_Gateway();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment