Seamlessly integrate multiple payment gateways into your ASP.NET Core applications.
Seamlessly integrate multiple payment gateways into your ASP.NET Core applications.
Seamlessly integrate multiple payment gateways into your ASP.NET Core applications.
Features • Getting Started • Usage • Sample Payloads & Responses • Contributing • License
The redesigned docs site is published on GitHub Pages:
Use it as the canonical operational guide for setup, security hardening, routing, idempotency, and integration testing.
git clone https://github.com/teesofttech/PayBridge.git
cd PayBridgeKeep connection strings out of tracked configuration. For local development, store one with .NET user-secrets:
dotnet user-secrets set "ConnectionStrings:PayBridgeDbContext" \
"" \
--project PayBridge.SDK.Example/PayBridge.SDK.Example.csprojKorapay website: https://www.korahq.com/
dotnet user-secrets set "PaymentGatewayConfig:EnabledGateways:0" "Korapay" \
--project PayBridge.SDK.Example/PayBridge.SDK.Example.csproj
dotnet user-secrets set "PaymentGatewayConfig:Korapay:PublicKey" "" \
--project PayBridge.SDK.Example/PayBridge.SDK.Example.csproj
dotnet user-secrets set "PaymentGatewayConfig:Korapay:SecretKey" "" \
--project PayBridge.SDK.Example/PayBridge.SDK.Example.csprojUse environment variables or a managed secret store in deployed environments.
Never commit sandbox or live credentials to appsettings*.json.
dotnet ef database updatedotnet build
dotnet run…{
"amount": 1000,
"currency": "NGN",
"description": "est",
"customerEmail": "[email protected]",
"customerName": "string",
"customerPhone": "string",
"redirectUrl": "https://localhost:7252/api/payment/verify-transaction",
"webhookUrl": "https://localhost:7252/api/payment/verify-transaction",
"metadata": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"paymentMethodType": 0,
"savedPaymentMethodId": "string",
"gateway": 1
}{
"success": true,
"transactionReference": "FLW_dc324e96d52b4bd48c401ff9194c15e8",
"message": "Hosted Link",
"checkoutUrl": "https://checkout-v2.dev-flutterwave.com/v3/hosted/pay/207b10ab0a05ddf19746",
"status": 0,
"gatewayResponse": {
"link": "https://checkout-v2.dev-flutterwave.com/v3/hosted/pay/207b10ab0a05ddf19746"
}
}We welcome your ideas, improvements, and fixes!
git clone https://github.com/teesofttech/PayBridge.gitgit checkout -b feature/your-feature-namegit commit -m "feat: add new feature"
git push origin feature/your-feature-nameYour support helps make PayBridge better for everyone!
PayBridge is released under the MIT License.
You're free to use, modify, and distribute this software as long as the original license is included.
No open issues yet, or sync has not completed.