Added payment update action

This commit is contained in:
Borna Rajković committed 2023-07-31 09:21:54 +02:00
1 parent b6203d8a03
commit fe6f3b6672
12 files changed
+420 -105

No files matched your search

+4
View File
@@ -8,6 +8,9 @@ const (
// initial state
StateInitialized PaymentState = "initialized"
// state given to async payments (eg. GooglePay,ApplePay...)
StatePending PaymentState = "pending"
// state on response
StateAccepted PaymentState = "accepted"
StateError PaymentState = "error"
@@ -25,4 +28,5 @@ const (
GatewayWsPay PaymentGateway = "wspay"
GatewayStripe PaymentGateway = "stripe"
GatewayVivaWallet PaymentGateway = "viva-wallet"
GatewayMock PaymentGateway = "mock"
)