/**
* When a formidable form submitted, add form's connected product to cart.
*/
add_action('frm_after_create_entry', 'ff_take_user_to_wc_checkout_for_payment', 20, 2);
function ff_take_user_to_wc_checkout_for_payment($entry_id, $form_id) {
$linked_products = get_posts([
'post_type' => 'product',
'post_status' => 'publish',
'numberposts' => 1,
'meta_key' => '_attached_formidable_form',
'meta_value' => $form_id,
'cache_results' => false,
]);
if (empty($linked_products)) {
return;
}
$product_id = $linked_products[0]->ID;
if (!function_exists('WC') || !WC()->session) {
return;
}
if (method_exists(WC()->session, 'set_customer_session_cookie')) {
WC()->session->set_customer_session_cookie(true);
}
WC()->cart->empty_cart();
$entry = FrmEntry::getOne($entry_id, true);
$form_data = $entry->metas;
$addon_total = 0;
foreach ($form_data as $value) {
if (is_string($value) && strpos(trim($value), '$') === 0) {
$price = floatval(str_replace(['$', ','], '', $value));
$addon_total += $price;
}
}
WC()->session->set('addon_total', $addon_total);
WC()->cart->add_to_cart($product_id, 1, 0, [], ['addon_total' => $addon_total]);
if (empty($_POST['frm_ajax'])) {
wp_safe_redirect(wc_get_checkout_url());
exit;
}
}
/**
* When an item is added to the cart, remove other products.
*/
add_filter( 'woocommerce_add_to_cart_validation', 'ff_keep_only_one_product_in_the_cart', 10, 3 );
function ff_keep_only_one_product_in_the_cart( $valid, $product_id, $quantity ) {
if( ! empty ( WC()->cart->get_cart() ) && $valid ) {
WC()->cart->empty_cart();
}
return $valid;
}
/**
* Disable add to cart confirmation message.
*/
add_filter( 'wc_add_to_cart_message_html', '__return_false' );
/**
* Redirect user to checkout page after adding a product to cart.
*/
add_filter ('add_to_cart_redirect', 'ff_redirect_to_checkout');
function ff_redirect_to_checkout() {
global $woocommerce;
$checkout_url = $woocommerce->cart->get_checkout_url();
return $checkout_url;
}
/**
* Calculate formidable add-on prices and add them to the total price in WC checkout.
*/
add_action('woocommerce_before_calculate_totals', 'ff_apply_addon_total_to_cart_price', 10, 1);
function ff_apply_addon_total_to_cart_price($cart) {
if (is_admin() && !defined('DOING_AJAX')) {
return;
}
foreach ($cart->get_cart() as $cart_item) {
if (!empty($cart_item['addon_total'])) {
$base_price = $cart_item['data']->get_price();
$addon_price = floatval($cart_item['addon_total']);
$cart_item['data']->set_price($base_price + $addon_price);
}
}
}
/**
* Use different Authorize.net accounts in checkout.
*/
add_filter( 'option_woocommerce_authorizeaim_settings', function( $woocommerce_authorizeaim_settings ) {
global $woocommerce;
if ( function_exists( 'is_checkout' ) && function_exists( 'get_field' ) && is_checkout() ) {
foreach ( $woocommerce->cart->get_cart() as $cart_item ) {
$product_id = $cart_item['product_id'];
$api_login_id = get_post_meta( $product_id, 'api_login_id', true );
$transaction_key = get_post_meta( $product_id, 'transaction_key', true );
if ( !empty( $api_login_id ) && !empty( $transaction_key ) ) {
$woocommerce_authorizeaim_settings['login_id'] = $api_login_id;
$woocommerce_authorizeaim_settings['transaction_key'] = $transaction_key;
break;
}
}
}
return $woocommerce_authorizeaim_settings;
} );
/**
* When placing a new WC order by submitting formidable,
* set order's customer detail according to the submitted information.
*/
add_action( 'woocommerce_new_order', 'ff_update_customer_data', 10, 2 );
function ff_update_customer_data($order_id,$order){
$postdata = $_POST;
$email = $postdata['la_email'];
$username = $postdata['la_email'];
$args = array(
'user_email' => $email,
'display_name' => $postdata['la_first_name'],
'first_name' => $postdata['la_first_name'],
'last_name' => $postdata['la_last_name']
);
$userdata = wc_create_new_customer($email,$username,'',$args);
$userdata = json_decode(json_encode($userdata), true);
if(isset($userdata['errors'])){
$customer = get_user_by('email',$email);
if($customer){
$user_id = $customer->ID;
}
}else{
$user_id = $userdata;
update_user_meta($user_id, "first_name",$postdata['la_first_name']);
update_user_meta($user_id, "last_name",$postdata['la_last_name']);
}
$address = array(
'first_name' => $postdata['la_first_name'],
'last_name' => $postdata['la_last_name'],
'email' => $email,
'phone' => $postdata['la_ower_phone'],
'address_1' => $postdata['la_buisiness_adddress_1'],
'address_2' => $postdata['la_buisiness_adddress_2'],
'city' => $postdata['la_buisiness_adddress_city'],
'state' => $postdata['la_buisiness_adddress_state'],
'postcode' => $postdata['la_buisiness_adddress_zipcode'],
'country' => 'US'
);
$order = new WC_Order($order_id);
$order->set_customer_id($user_id);
$order->set_address($address, 'billing');
$order->set_address($address, 'shipping');
$order->save();
}
/**
* Link formidable entry with woocommerce order. -- ⇩⇩⇩ --
*/
// 1. Store formidable entry ID in the customer session.
add_action( 'frm_after_create_entry', function( $entry_id, $form_id ) {
WC()->session->set( 'frm_entry_id', $entry_id );
}, 20, 2 );
// 2. Set formidable entry id from session to the order as an order meta.
add_action( 'woocommerce_checkout_create_order', function( $order, $data ) {
if ( $entry_id = WC()->session->get( 'frm_entry_id' ) ) {
$order->update_meta_data( '_frm_entry_id', $entry_id );
}
}, 10, 2 );
// 3. Display the link to the formidable entry on the order details page.
add_filter( 'woocommerce_order_item_display_meta_key', function( $display_value, $meta ) {
if ( $meta->key == '_formidable_form_data' ) {
$display_value = __( 'Formidable Entry', 'formidable-woocommerce' );
}
return $display_value;
}, 10, 2 );
Understanding Beneficial Ownership Information Reports
Skip to content
Understanding Beneficial Ownership Information Reports
Transparency and accountability are more important than ever in our increasingly global business landscape. As part of efforts to combat financial crimes such as money laundering and tax evasion, governments worldwide have implemented regulations requiring companies to disclose information about their beneficial owners. In the United States, this is accomplished through beneficial ownership information (BOI) reports.
Below, we’ll explore the concept of beneficial ownership, the importance of these reports, the key requirements, and how businesses can ensure compliance with relevant regulations.
What Is Beneficial Ownership?
A beneficial owner is an individual who ultimately owns or controls a company, even if the ownership is not directly in their name. This can include individuals who have significant control over the company’s activities or who receive significant financial benefits from the company’s operations.
Beneficial ownership can be complex, often involving layers of ownership or control through multiple entities or individuals.
The Importance of Beneficial Ownership Information Reports
The primary goal of BOI reports is to enhance corporate transparency and prevent the misuse of companies for illicit activities. By identifying the true owners behind a company, regulators can better detect and prevent illegal activities such as money laundering, terrorist financing, and tax evasion.
For businesses, maintaining transparency through BOI reports can improve trust with stakeholders, including investors, customers, and regulators. Transparency can also lead to better business practices and a stronger reputation in the marketplace.
Key Requirements for Beneficial Ownership Information Reports
To comply with the regulations and fulfill your company’s obligations, it is essential to understand the specific requirements of beneficial ownership information reports.
The Corporate Transparency Act (CTA), enacted as part of the National Defense Authorization Act for Fiscal Year 2021, requires certain companies to file BOI reports with the Financial Crimes Enforcement Network (FinCEN). These reports must include information about the company’s beneficial owners, defined as individuals who:
Exercise substantial control over the company
Own or control at least 25% of the company’s ownership interests
Most corporations, limited liability companies (LLCs), and other similar entities formed or registered to do business in the United States must comply with this requirement. However, some entities, such as certain publicly traded companies and larger corporations subject to specific reporting requirements, may be exempt.
What Information Is Required?
BOI reports must include the following information about each beneficial owner:
Full legal name
Date of birth
Residential or business address
Unique identifying number from an acceptable identification document (such as a passport or driver’s license)
Here is a breakdown of the filing requirements based on the timing of a company’s creation or registration:
Any company that was formed or registered before January 1, 2024, is required to file its initial BOI report to FinCEN by January 1, 2025. This gives existing businesses ample time to gather the necessary information and comply with the new regulations.
For businesses formed or registered between January 1, 2024, and December 31, 2024, there is a 90-day filing window. This period begins when the company receives either an official or public notification of its formation or registration. This extended time frame provides these businesses with the opportunity to understand the reporting obligations and collect the required data.
Businesses formed or registered on or after January 1, 2025, must adhere to a 30-day reporting deadline. They are required to file their initial BOI reports within 30 days of receiving either actual or public notice of their creation or registration.
Also, businesses must ensure the accuracy of their BOI reports and update them as necessary. If there are changes to the beneficial ownership information, companies must submit an updated report within 30 days of the change.
Penalties for Not Complying with BOI Reporting Requirements
Failing to comply with BOI reporting requirements can lead to severe penalties, including:
Civil Penalties: Businesses that fail to file their BOI report by the deadline may face fines of up to $500 per day until the report is filed.
Criminal Penalties: Willfully providing false information or intentionally failing to file can result in more severe penalties, including fines of up to $10,000 and imprisonment for up to two years.
Additionally, non-compliance can also harm your business’s reputation, leading to a loss of trust among investors, customers, and regulators. It’s vital for businesses to prioritize compliance to avoid these consequences and maintain a good standing with regulatory authorities.
Ready to File Your Beneficial Ownership Information Report?
Beneficial ownership information reports play a crucial role in promoting corporate transparency and preventing financial crimes. By understanding the importance of these reports and adhering to the reporting requirements, businesses can ensure compliance with regulations and contribute to a more transparent and accountable business environment.