İçindekiler

3DS ödeme bounded context — Iyzico / Moka, işlem listesi, webhook.

Konumlar

KatmanYol
Domaininternal/domain/payment/
Applicationinternal/application/payment/öncethreeds.go (ThreeDSService)
HTTPinternal/adapters/http/handler/payment_handler.go
GoUIinternal/adapters/goui/controller_settings_payments_audit.go (checkout, transactions)
Persistenceadapters/persistence/postgres/payment_repository.go
Altyapıinternal/infrastructure/payment/iyzico, .../moka
Wiringwire_user.go (ThreeDSSvc); wire_http.go, wire_goui.go

Application (ThreeDSService)

DosyaTipik iş
threeds.goFacade: BinCheck, Initialize/Complete 3DS, List/Get, webhook/callback
reconcile.goReconcileStale — takılı işlemler

HTTP yüzeyleri

Kayıt: internal/adapters/http/server.go/api/v1/payments/...

MethodPathHandlerİzin (özet)
POST/payments/bin-checkBinCheckpayments:charge
POST/payments/3ds/initializeInitialize3DSpayments:charge
POST/payments/3ds/authComplete3DSpayments:charge
POST/payments/calc-amountCalcPaymentAmountpayments:charge
GET/payments/transactionsListPaymentspayments:list
GET/payments/transactions/:referenceGetPaymentpayments:charge veya payments:list
POST/payments/3ds/callbackCallback3DSpublic (sağlayıcı)
POST/payments/webhook/iyzicoIyzicoWebhookpublic (imza)

Panel yüzeyleri

PathScreenController
/dashboard/payments/checkoutcheckoutcheckout
/dashboard/payments/transactionspaymentslist
/dashboard/payments/transactions/:referencepayment-showshow

Rota tablosu: adapters/goui/routes.gopageRoutes().

İlişkili