Created
September 28, 2020 09:29
-
-
Save AaronBowie/36dea65fac4475ba33fddd68142e1b14 to your computer and use it in GitHub Desktop.
ePDQ_custom_order_id - passing custom order ID to ePDQ
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
define('ePDQ_custom_order_id',TRUE); | |
add_action('ePDQ_custom_order_id', 'my_ePDQ_custom_order_id'); | |
function my_ePDQ_custom_order_id( $order ) { | |
$invoice_number= $order->get_id(); // invoice number | |
return $invoice_number; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment