Added support for stripe

This commit is contained in:
Borna Rajković committed 2023-07-26 09:51:29 +02:00
1 parent 3de5c8b0f1
commit cefc5314f2
16 files changed
+365 -72

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
package state
type PaymentState string
const (
// initial state
StateInitialized PaymentState = "initialized"
// state on response
StateAccepted PaymentState = "accepted"
StateError PaymentState = "error"
StateCanceledInitialization PaymentState = "canceled_initialization"
// state after confirmation
StateCompleted PaymentState = "completed"
StateVoided PaymentState = "voided"
StateCanceled PaymentState = "canceled"
)