-
Notifications
You must be signed in to change notification settings - Fork 39
/
.env.dist
151 lines (119 loc) · 5.67 KB
/
.env.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
###########################
###### Core Settings ######
###########################
# Should remain "prod" even when using your sandbox environment.
APP_ENV=prod
# See https://symfony.com/doc/current/reference/configuration/framework.html#secret
# Required
APP_SECRET=TO_BE_GENERATED
# Secret used to authenticate private calls.
# Will have to be in the X-AUTH-TOKEN header of every private request. Please generate a strong secret
OPERATOR_PASSWORD=TO_BE_GENERATED
# The scheme on which the connector will be publicly available.
# Used when generating refresh URLs for the onboarding flow.
# Defaults to https
#SCHEME=https
# The base host on which the connector will be publicly available.
# Used when generating refresh URLs for the onboarding flow.
# Required
BASE_HOST=stripe-mirakl.example.com
# If you use a proxy, tell Symfony which reverse proxy IP addresses to trust.
# See How to Configure Symfony to Work behind a Load Balancer or a Reverse Proxy:
# https://symfony.com/doc/4.4/deployment/proxies.html
#TRUSTED_PROXIES=127.0.0.1,REMOTE_ADDR
# The connection URL to your database.
# See https://www.doctrine-project.org/projects/doctrine-dbal/en/2.9/reference/configuration.html#connecting-using-a-url
# Required
DATABASE_URL=pgsql://symfony:symfony@db:5432/symfony?charset=UTF-8
# The transport used for the queuing system.
# See Symfony Messenger documentation for supported transports:
# https://symfony.com/doc/current/messenger.html#transports-async-queued-messages
# Example for RabbitMQ: amqp://guest:guest@localhost:5672/%2f/messages
# Default is doctrine://default
# Required
MESSENGER_TRANSPORT_DSN=doctrine://default
# Your Stripe Client Secret. Available in your dashboard.
# https://dashboard.stripe.com/apikeys
# Required
STRIPE_CLIENT_SECRET=sk_xxxx
# Host name of your Mirakl Instance. Will be used as base for all Mirakl API calls.
# Required
MIRAKL_HOST_NAME=https://mymarketplace.mirakl.net
# The Mirakl Operator key. Can be generated as a Mirakl operator
# Recommendation: create a specific operator for the connector.
# Generate the key on https://mymarketplace.mirakl.net/mmp/operator/user/api
# Required
MIRAKL_API_KEY=
#################################
###### Onboarding workflow ######
#################################
# Enable the seller onboarding workflow.
# Defaults to true.
#ENABLE_SELLER_ONBOARDING=true
# The URL we will redirect the seller to after a successful account creation.
# Will be requested by a seller, must be publicly available.
# Default will be $MIRAKL_HOST_NAME/mmp/shop/account/shop
#REDIRECT_ONBOARDING=
# Your Stripe Webhook Secret. Used to validate received webhooks.
# You can find it when you configure the connect webhook in the dashboard.
# https://dashboard.stripe.com/webhooks, then select the webhook
# Required
STRIPE_SELLERS_WEBHOOK_SECRET=whsec_xxxxx
# Code of a custom field of type Link which will receive Stripe Express URLs.
# Must be read-only for the seller, and you should leave it blank when creating the account.
# Defaults to stripe-url.
#MIRAKL_CUSTOM_FIELD_CODE=stripe-url
# Should we prefill the Stripe Express account with seller info read from Mirakl.
# Defaults to false.
STRIPE_PREFILL_ONBOARDING=false
###############################
###### Payments workflow ######
###############################
# Metadata key used in PaymentIntents or Charges to convey the Mirakl commercial order ID.
# Defaults to mirakl_commercial_order_id.
#PAYMENT_METADATA_COMMERCIAL_ORDER_ID=mirakl_commercial_order_id
# Enable the payment split workflow for product orders.
# Defaults to false.
#ENABLE_PRODUCT_PAYMENT_SPLIT=false
# Enable the payment refund workflow for product orders.
# Defaults to false.
#ENABLE_PRODUCT_PAYMENT_REFUND=false
# Enable the payment split workflow for service orders.
# Defaults to false.
#ENABLE_SERVICE_PAYMENT_SPLIT=false
# Enable the payment refund workflow for service orders.
# Defaults to false.
#ENABLE_SERVICE_PAYMENT_REFUND=false
# Your Stripe Account Webhook Secret. Used to validate received webhooks.
# You can find it when you configure the connect webhook in the dashboard.
# https://dashboard.stripe.com/webhooks, then select the webhook
# Required
STRIPE_OPERATOR_WEBHOOK_SECRET=whsec_xxxxx
########################################
###### Notifications and alerting ######
########################################
# The entire Symfony Mailer configuration using a DSN-like URL format.
# See https://symfony.com/doc/current/components/mailer.html#mailer-dsn
# Example: smtp://user:pass@host:port/?timeout=60&encryption=ssl&auth_mode=login
# Defaults to smtp://null (mailer disabled)
# Required
MAILER_DSN=smtp://null
# The email which will receive all technical alerts
# Default is empty, required if mailer is configured
# The email from which will be send all tehnical mails
# Default is empty, required if mailer is configured
# An URL we will call every time we need to notify you.
# Default is empty: notifications will be disabled
#OPERATOR_NOTIFICATION_URL=
# A boolean enabling mails when the operator notification URL is not available or the response code is an error.
# Default: true.
#MAIL_ON_NOTIFICATION_ENDPOINT_DOWN=true
# A duration in minutes. As the notification endpoint down emails can create quite a lot of spam,
# we will wait at least that duration between two notification emails. Default to 10 minutes.
# 0 to disable throttling, can go as high as the notification worker max life, i.e. 3600 by default.
#MAIL_ON_NOTIFICATION_ENDPOINT_DOWN_COOLDOWN=10
# Tax split configuration for new product order & backlog product order, for new service order & backlog service order
#ENABLE_PAYMENT_TAX_SPLIT=false
#STRIPE_TAX_ACCOUNT=acct_xxxxxx