Created
June 28, 2022 13:51
-
-
Save xlplugins/8fc8e3c4b97baabd67032d25e3683283 to your computer and use it in GitHub Desktop.
Payoneer Checkout Compatability Added with Funnel Checkout
This file contains hidden or 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
| 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