more changes
This commit is contained in:
@@ -22,5 +22,6 @@ func PaymentDeclined(grain *CartGrain, req *messages.PaymentDeclined) error {
|
||||
|
||||
payment.CompletedAt = asPointer(time.Now())
|
||||
payment.Status = PaymentStatusFailed
|
||||
grain.PaymentInProgress--
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user