Weblutions Documentation
Weblutions Main Site Contact Us Our Discord
Some pages are still pending proper formatting, if required refer to the legacy documentation website.
FaxStore IconFaxStore

Weblutions Documentation / FaxStore / 4. Payment Configuration

Updated

4. Payment Configuration

By Josh M. 2 mins 3

FaxStore supports three payment methods on the base store configuration. One provider, two providers, or all supported providers can be enabled at the same time depending on the store setup and business requirements. This page covers how to connect each provider and where the required credentials come from.

Table of Contents


Before Starting

Before enabling any payment method in FaxStore, make sure the account being connected is fully set up for live payments with that provider. Test or sandbox credentials should only be used for testing and should not be placed into a live FaxStore configuration. Stripe separates sandbox and live API keys, PayPal provides app credentials through its developer dashboard, and Square separates sandbox and production credentials in its Developer Console.

Payment credentials must be treated as sensitive. Secret keys, access tokens, and client secrets should never be shared publicly


PayPal

FaxStore can use PayPal as a direct payment method. To use PayPal APIs in a live environment, a PayPal Business account is required.

  1. Sign into PayPal and navigate to the developer dashboard

  2. Open the Apps & Credentials tab

    A boring example image
  3. Create a new application for FaxStore (top right corner)

  4. Copy the Client ID and Client Secret for the live application and set aside

  5. Open the FaxStore configuration file and set the below items

    1. usePayPal should be true

    2. Set the PayPal Client ID

    3. Set the PayPal Secret

  6. Save the configuration file

    A boring example image

Stripe

Stripe is fully supported in FaxStore and is the recommended payment provider on FaxStore.

  1. Login to Stripe and navigate to:
    Developers (bottom left) > API Keys

  2. Create a new "Standard Key" for building an integration

    A boring example image
  3. Complete verification if required

  4. Copy the secret key and publishable key and place them into the configuration file

  5. Set useStripe to true in the configuration file

  6. Save the configuration file

    A boring example image

Square

Square is also supported by FaxStore and uses application credentials from the Square Developer Console.

  1. Login or create an account with Square

  2. Open the developer console

  3. Create an application for FaxStore

  4. Switch the environment to production

  5. Open Credentials in the left sidebar

  6. Copy the Production Application ID

  7. Reveal and copy the Production Access Token

  8. In the FaxStore configuration file set the useSquare key to true and set the application ID and token

  9. Save the configuration file


Step four has been completed

Continue to step five