feat: add wata payment provider
This commit is contained in:
+13
-2
@@ -89,8 +89,9 @@ STARS_ENABLED=True #
|
||||
CRYPTOPAY_ENABLED=True # Turn on CRYPTOPAY
|
||||
PLATEGA_ENABLED=False # Turn on PLATEGA
|
||||
SEVERPAY_ENABLED=False # Turn on SeverPay
|
||||
# Order of payment methods (top to bottom). Supported: severpay, freekassa, platega, yookassa, stars, cryptopay
|
||||
PAYMENT_METHODS_ORDER=severpay,yookassa,cryptopay,freekassa,platega,stars
|
||||
WATA_ENABLED=False # Turn on Wata
|
||||
# Order of payment methods (top to bottom). Supported: severpay, wata, freekassa, platega, yookassa, stars, cryptopay
|
||||
PAYMENT_METHODS_ORDER=severpay,wata,yookassa,cryptopay,freekassa,platega,stars
|
||||
|
||||
# YooKassa Payment Gateway Configuration
|
||||
YOOKASSA_SHOP_ID=your_shop_id # Your store ID in YooKassa
|
||||
@@ -140,6 +141,16 @@ SEVERPAY_TOKEN= #
|
||||
SEVERPAY_RETURN_URL= # Optional: redirect URL after payment (defaults to bot link)
|
||||
SEVERPAY_LIFETIME_MINUTES= # Optional: payment link lifetime in minutes (30-4320, leave empty for default)
|
||||
|
||||
# Wata Payment Gateway Configuration
|
||||
WATA_BASE_URL=https://api.wata.pro/api/h2h # Base API URL (use https://api-sandbox.wata.pro/api/h2h for sandbox)
|
||||
WATA_API_TOKEN= # Bearer token from Wata terminal settings
|
||||
WATA_RETURN_URL= # Optional: redirect after successful payment (defaults to bot link)
|
||||
WATA_FAILED_URL= # Optional: redirect after failed payment (defaults to return URL)
|
||||
WATA_PAYMENT_LINK_TTL_DAYS=3 # Payment link lifetime in days (1-30)
|
||||
WATA_WEBHOOK_VERIFY_SIGNATURE=True # Verify X-Signature with Wata RSA public key
|
||||
WATA_PUBLIC_KEY= # Optional: cached public key; leave empty to fetch from Wata
|
||||
WATA_TRUSTED_IPS=62.84.126.140,51.250.106.150 # Wata webhook source IP allowlist
|
||||
|
||||
# Subscription Options. Specify cost parameters or payment links here.
|
||||
1_MONTH_ENABLED=True
|
||||
RUB_PRICE_1_MONTH=150
|
||||
|
||||
Reference in New Issue
Block a user