s
This commit is contained in:
@@ -57,8 +57,7 @@ func HandlePaymentStarted(g *CheckoutGrain, m *messages.PaymentStarted) error {
|
|||||||
payment.SessionData = (*json.RawMessage)(&m.SessionData.Value)
|
payment.SessionData = (*json.RawMessage)(&m.SessionData.Value)
|
||||||
}
|
}
|
||||||
payment.StartedAt = &startedAt
|
payment.StartedAt = &startedAt
|
||||||
payment.CompletedAt = nil
|
|
||||||
payment.ProcessorReference = nil
|
|
||||||
} else {
|
} else {
|
||||||
g.PaymentInProgress++
|
g.PaymentInProgress++
|
||||||
g.Payments = append(g.Payments, &Payment{
|
g.Payments = append(g.Payments, &Payment{
|
||||||
|
|||||||
Reference in New Issue
Block a user