Implement yookassa client
This commit is contained in:
@@ -38,8 +38,20 @@ Cache.TTL = 24h
|
||||
# Yookassa related props
|
||||
# Base API Url
|
||||
YooKassa.BaseUrl = https://api.yookassa.ru/v3
|
||||
YooKassa.Timeout = 30s
|
||||
# Timeout for requests
|
||||
YooKassa.Timeout = 2s
|
||||
|
||||
YooKassa.Retry.Enabled = false
|
||||
# Set retry count (including initial request)
|
||||
YooKassa.Retry.Count = 3
|
||||
# Set wait time between retries
|
||||
YooKassa.Retry.WaitTime = 200ms
|
||||
# Set maximum wait time (for exponential backoff)
|
||||
YooKassa.Retry.MaxWaitTime = 5s
|
||||
|
||||
YooKassa.Test = false
|
||||
|
||||
YooKassa.CheckAllowedCallbackAddress = true
|
||||
YooKassa.AllowedCallbackSubnets = 185.71.76.0/27,185.71.77.0/27,77.75.153.0/25,77.75.156.11/32,77.75.156.35/32,77.75.154.128/25,2a02:5180::/32
|
||||
# Base API key/secret
|
||||
YooKassa.ApiBaseKey =
|
||||
@@ -47,3 +59,5 @@ YooKassa.ApiBaseSecret =
|
||||
# Payments API key/secret
|
||||
YooKassa.ApiPaymentKey =
|
||||
YooKassa.ApiPaymentSecret =
|
||||
# Timeout to process yookassa callback
|
||||
YooKassa.CallbackProcessTimeout = 1s
|
||||
Reference in New Issue
Block a user