TWEB-143: woo order to salesforce

This commit is contained in:
Tony Volpe
2024-10-28 15:40:14 +00:00
parent f33cce9fec
commit 6700dc85db
2 changed files with 141 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
<?php
include_once(get_template_directory() . '/helpers/secured-content.php');
add_action( 'gform_after_submission_1', 'post_to_salesforce_and_five9', 10, 2 );
function post_to_salesforce_and_five9( $entry, $form ) {
@@ -1343,6 +1344,7 @@ add_action('woocommerce_thankyou', function ($order_id) {
]);
});
/**
* Retrieve accessories data for a product.
*/