feat(payment): add support for CryptoSaaS payment platform and enhance configuration handling
This commit is contained in:
+12
-1
@@ -9,10 +9,12 @@ const (
|
||||
AlipayF2F
|
||||
EPay
|
||||
Balance
|
||||
UNSUPPORTED
|
||||
CryptoSaaS
|
||||
UNSUPPORTED Platform = -1
|
||||
)
|
||||
|
||||
var platformNames = map[string]Platform{
|
||||
"CryptoSaaS": CryptoSaaS,
|
||||
"Stripe": Stripe,
|
||||
"AlipayF2F": AlipayF2F,
|
||||
"EPay": EPay,
|
||||
@@ -68,5 +70,14 @@ func GetSupportedPlatforms() []types.PlatformInfo {
|
||||
"key": "Key",
|
||||
},
|
||||
},
|
||||
{
|
||||
Platform: CryptoSaaS.String(),
|
||||
PlatformUrl: "https://t.me/CryptoSaaSBot",
|
||||
PlatformFieldDescription: map[string]string{
|
||||
"endpoint": "API Endpoint",
|
||||
"account_id": "Account ID",
|
||||
"secret_key": "Secret Key",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user