Log into your FoxyCart admin control panel.
Navigate to Templates > Configuration
Scroll down to "Add custom header and footer code to your templates." (Make sure the checkbox is selected.)
Paste our code snippet from the Code page of your CartStack account into the custom header section.
Code page of your CartStack account, paste the URL for the thank you page which loads after a purchase is completed and click "Review My Integration."