This guide will walk you step by step through the process of integrating FoxyCart with eFront.
Starting with the integration, log in as administrator to your eFront system, and navigate to 'System Settings' -> 'e-Commerce' -> 'Gateway' (1).
Once you are there, select the option Foxy (2).
You will see a few options over there, such as Company Name or Contact name (3). Leave them be, for the time being. Next, click the link 'To use Foxy payment gateway, you must first signup for a foxycart account.' (4). If you do not have already an account, create one now, it is really simple.
Clicking on that link will take you to the FoxyCart website then go to their signup page to create a new account.
Once you have created and verified your account with FoxyCart, you 'll need to obtain your API key (5). You will find this here, under the Store submenu on the item Advanced.
Do not forget to check out the values of other fields in your FoxyCart account, from your profile.
Once you have found your FoxyCart API key, go back to eFront and paste this into the settings of the FoxyCart Payment Gateway.
Fill in the rest of the information required with the appropriate values and click Save. Then the option of the FoxyCart gateway will change and a new link will appear, which is called Authorize (6).
Click that link to authorize eFront to communicate with FoxyCart. It will prompt you to log in again and then it will take you to a screen where you can actually perform the authorization.
Once you have authorized eFront to connect with FoxyCart, you will be redirected back to the eFront System Settings. You are almost done!
You need to set up a few settings in your FoxyCart configurations. Those are:
Store URL: Fill in your store URL with the following <efront_base_url>/catalog/cart/1
Receipt Continue URL: Fill in your receipt continue URL with the following <efront_base_url>
Do not forget to fill with the preferred values all the information regarding Shipping Location, Locale, Timezone & Settings.
- Because of the payment changes (PSD2 & SCA) you will need to select Foxy cart store version: 2.0.
Would you like to enable your store data feed: Find this option and check it.
Datafeed URL: Fill in your datafeed url with the following <efront_base_url>/catalog/cart/foxy-data-feed
Setup any payment provider that you want to be available on checkout/cart page.
All the above options are located on top of the https://admin.foxycart.com screen. We have now covered the most important settings in order to set up successfully the Foxy payment gateway. Look around to discover more available options in order to unveil the multiple options that FoxyCart provides.
In the TEMPLATES section, you can write your own checkout/cart template (limited only by your imagination as stated by Foxy team), but this requires some programming knowledge (JS, CSS, and twig templating engine).
Note (Tech): Foxy uses webhooks. A customer may successfully complete a payment but they will not have access to the course(s) that have been purchased until the Foxy webhook inform eFront regarding that particular transaction.