FaxStore

Prerequisites
Installation & Setup
API
Config File
Developer Mode
Enable Debug Mode
Events
Extensions
Features
Integrations
License System Extension
Permissions
Updating FaxStore
Developer Tools

Weblutions Documentation > FaxStore > Installation & Setup > 4. Payment Configuration

4. Payment Configuration

FaxStore currently supports two payment methods; Stripe and PayPal. Both of these services offer pros and cons for traders and you can have one or both of them enabled at once.

This article will cover how to set up both of these services for FaxStore.


PayPal

Note; before starting this section, that PayPal requires a PayPal Business Account to be able to use their API in a way that FaxStore does.

To start off go to the PayPal Developer site and create a live application. This should look something like the below.

paypal1

Once you have clicked create enter the application name with the 'Merchant' category used.

Then collect your Client ID and Secret and keep them handy.

paypal2

Do not share your PayPal Client ID or Secret, this could give people full access to API flows of your PayPal account giving others access to transfer funds and more. Do not share this!

Now that we have our Client ID and Secret with us we want to edit the config file for FaxStore.

Under the payments section of the config file, we want to set usePayPal to true and place our Client ID and Secret into the respective locations underneath.

paypal3

Save the file and that is completed.

----

Stripe

Stripe is another payment processor built into FaxStore.

Create a Stripe account if you haven't. Once you have go to the dashboard and click on 'Developers' in the top right

After this navigate to the API section and create a 'Secret Key' then give it a name.

Do not share your Publishable key or secret, this could give people full access to API flows of your Stripe account giving others access to transfer funds and more. Do not share this!

stripe1

You can only view the secret key once, so store it somewhere safe for now.

You will also need a Publishable key. There should be a creation button located on the page.

Once you have these two keys take them to your config file and place them in the locations under payments. Don't forget to set useStripe to true to enable Stripe payments.

stripe2

Save the config


Square

Square is the third payment method supported on FaxStore. Setting up Square is easy.

Create a Square account at https://squareup.com. Once you have done so, go to the developer portal https://developer.squareup.com/apps

Once you're here create a new application, name it as you wish and go and view the application.

Ensure to click 'Production' at the top of the page. Once on production you will see the 'Production Application ID' and the 'Production Access token'.

Copy these tokens and place into the FaxStore config file and save. Job done :)



Related Articles


Suggest an edit

Review this page

FAXES

faxstore setup

1 recommend this page