Checking out with Flex
Once the plugin is installed and the payment method is enabled, “Flex | Pay with HSA/FSA” will show up as one of the payment options during checkout. When selected, the plugin will send a request to Flex to generate a checkout session to redirect the user to. As part of generating the checkout session, Flex will check all the items in the customer’s cart and determine its eligibility. The items in the cart can fall under one of the following:All items are HSA/FSA eligible
All items in their cart are HSA/FSA eligible either through Auto Substantiation or a Letter of Medical Necessity. The customer will be presented with a banner informing them that all items are eligible and to proceed with the HSA/FSA card.Some items are HSA/FSA eligible
Some of the items in their cart are HSA/FSA eligible and the remaining items are not. We refer to this scenario as a split cart. In a split cart the customer is presented with a banner informing them that some items are eligible while the remaining are not. They will be prompted for their HSA/FSA card to pay for the items that are eligible and their credit card for the items that are not eligible. The steps for a split cart are:- Place a temporary hold on the HSA/FSA payment for the HSA/FSA eligible amount.
- Process the credit/debit card for the non eligible amount.
- Capture the HSA/FSA funds that were placed on hold.
- Redirect to the WooCommerce order completion page.