All pages
Powered by GitBook
1 of 1

Loading...

Setting up Third Party API accounts

This page may become outdated as third parties update their solutions.

Obtaining a Google Maps API key

  1. Go to

  2. Login with Gmail account

  3. Create a new project

  4. On the page that appears, click on "API and authentication" > "API"

  5. Find and add the following APIs:

    1. Google Maps JavaScript API

    2. Google Places API Web Service

    3. Google Maps Geocoding API

  6. Click on the name of each API

  7. In the new page, click on "Activate API"

  8. Click on "Credentials" (nav bar on the left)

    1. Click on "Create credentials" > "API key" in the popin

    2. Click on the name of the API then in "Restrictions relating to applications"

    3. Select "HTTP Referrers (websites)

  9. Click on "Create identifiers" > "API key" > name it "Server key"

    1. Copy the API key into

  10. Enter your billing account at:

Obtaining an OpenExchangeRates API key

  1. Signup on

  2. Click on App IDS menu

  3. Click on Generate New App ID

  4. Copy the key into

Microsoft Azure Translator API * (Obsolete)

  1. Goto with customer credentials

  2. Click sur Nouveau (+)

  3. Search Translator Text API

  4. Click on API Traducteur de texte

The Noun Project

  1. Signup on

  2. Create an app

  3. Generate the API key

  4. Copy the key into

Pexels

  1. Signup on

  2. Create an app

  3. Generate the API key

  4. Copy the key into

Stripe

  1. Signup on

  2. Follow the guide

  3. Copy the keys into

The following third api accounts are optional.

Mangopay

Create the Mangopay production account (

Choose :

  • Platform Type = Market place

  • Activate Pre-Authorisation

You will need the the "ClientId" and the "Passphrase" received after the creation of this account.

Authorize the use of the pre-authorization in production ( Warning: by default, MANGOPAY sets a limit of 2500€ per transaction. If you wish to increase this limit, it is necessary to notify them at the creation of your account or later.

Contact and ask them to authorize the use of the "PreAuthorization" object in production for the customer's Mangopay production account.

Copy the key into:

Facebook SSO

Go to )

The procedure for production is the same except that you have to start with step 2.

  1. Go on

  2. Go to the “My applications” menu > XXX Projects

  3. Open the “XXX Projects” menu (top left)

  4. Click on "Create a test application" (for development or testing) or "Create an application" (for production).

SMS OVH

If the SMS bundle is activated, create an SMS account with OVH Telecom:

  • Log in on

  • Go to

  • Order SMS by clicking on Order' > 'SMS.

  • You have to wait a little before the order is effective and you can see the SMS account ID in your dashboard

Here is the OVH SMS API doc:

Google Tag Manager

  1. Log in to Google Tag Manager with the created Gmail account

  2. Create an account for the project

  3. Define configuration container

Google Maps Distance Matrix API

  • YouTube Data API

  • Accept requests from these HTTP referrers (websites)

  • Add the domain of your platform. Ex: *.second.com/* (do not forget the *)

  • Copy the API key into

  • Click on Create

  • Click on Subscribe to a subscription

  • Fill fields

  • Check in the account tab if you are in the default directory (in the top right corner). Otherwise, click on the last button "Default Directory."

  • Return to API Text Translator form

  • Fill fields:

    1. Pricing level: F0

    2. Resource group: project name

    3. Click on dashboard > Translator api

    4. Click on "This free trial version expires in x days."

    5. Click on Opt for automatic conversion

    6. Click on Automatically convert your essay

    7. Click on Yes, I would like to perform the automatic conversion at the end of this trial

    8. Click on register

    9. Click on dashboard > Translator api > key

    10. Copy the key in this way:

  • Create default user accounts & bank account (On Stripe dashboard)
    1. Copy user account id

  • Fill default user accounts id & bank account ids using following env variables:

  • Enter the username:

    1. XXX--dev (dev version)

    2. XXX--Staging (test version)

    3. [XXX]-Prod (production version)

  • Enter a contact email address.

  • On the Dashboard go further down the page to “Add a product”

  • Click on “Facebook Login” > “Start”

  • Click on “Settings” in the left menu under “Facebook Login”

  • Set the "Valid OAuth redirection URLs" depending on the environment and for each locale

    1. https://xxx.io/en/oauth/fb-login(DO NOT PUT FROM/AT THE END OF THE URL)

    2. https://xxx.io/fr/oauth/fb-login(DO NOT PUT FROM/AT THE END OF THE URL)

  • Click on '"Save Changes"

  • Go to 'Settings' at the top of the left menu, then "General."

  • Click on "'Add a Platform" > Website.

  • Enter "Site URL" (at the bottom): https://[domain]

  • Click on "Save Changes."

  • Enter the "App Domain:"

  • Click on "Save Changes."

  • Retrieve the values from the "App ID" and "App Secret" fields and copy them into:"

  • "Click on the menu in the top right on the "Disabled" switch to enable public sharing.

  • Go to the 'Roles' section in the left menu > 'Roles.'"

  • Create API keys for the following script: https://eu.api.ovh.com/createToken/?GET=/sms/&GET=/sms/*&GET=/sms/*/jobs/&POST=/sms/*/jobs/&GET=/sms/*/outgoing/*&GET=/sms/*/incoming*&GET=/sms/*/incoming/*

    • Account ID or email address / password: the ovh account

    • Script name : Name of the project

    • Description: Name of the project

    • Validity: Unlimited

  • Copy the key into :

  • enter the domain
  • select "web"

  • Go back to the account level

  • Save the content ID that was created (GTM-XXXXXX)

  • Publish the account (click on publish)

  • Copy the key into

  • https://console.developers.google.com/project
    https://console.developers.google.com/billing/linkedaccount
    Open Exchange Rates
    http://portal.azure.com
    https://thenounproject.com/
    https://www.pexels.com/
    https://stripe.com/
    Stripe API keys
    https://hub.mangopay.com/user-registration
    ):
    https://docs.mangopay.com/api-references/card/pre-authorization/):
    [email protected]
    https://developers.facebook.com/docs/apps/register
    https://developers.facebook.com/
    https://www.ovh.com/manager/web/login/
    https://www.ovhtelecom.fr/manager/index.html#/
    https://docs.ovh.com/fr/sms/
    https://docs.ovh.com/fr/sms/envoyer_des_sms_avec_lapi_ovh_en_php
    https://www.google.fr/tagmanager/
    second_geo_google_place_api_key
    SBO > Other > Features > Third Apps > Facebook app ID
    SBO > Other > Features > Third Apps > Facebook app secret
    SBO > Other > Features > SMS > SMS DSN
    SBO > Other > Features > Platform Configuration > Google Tag Manager ID
    second_geo_google_place_server_api_key
    SBO > Other > Features > Currency > OER app ID
    SBO > Other > Features > The Noun project > Key
    SBO > Other > Features > The Noun project > Secret
    SBO > Other > Features > Pexels > Pexels API token
    SBO > Other > Features > Stripe > API Public Key
    SBO > Other > Features > Stripe > API Secret Key
    # .env.local
    STRIPE_DEFAULT_ASKER_ID="default asker id existing on Stripe dashboard account"
    STRIPE_DEFAULT_OFFERER_ID="default offerer id existing on Stripe dashboard account"
    STRIPE_DEFAULT_BANK_ID="default bank account id existing on Stripe dashboard account"
    cocorico_mangopay.client_id
    cocorico_mangopay.client_password
    SBO > Other > Features > Translation > Cloud Translator DSN
    : 'msazure://thekey@default'