more changes
This commit is contained in:
@@ -47,6 +47,9 @@ func SetDelivery(g *CartGrain, m *messages.SetDelivery) error {
|
||||
if m.Provider == "" {
|
||||
return fmt.Errorf("SetDelivery: provider is empty")
|
||||
}
|
||||
if g.PaymentInProgress > 0 {
|
||||
return ErrPaymentInProgress
|
||||
}
|
||||
|
||||
withDelivery := g.ItemsWithDelivery()
|
||||
targetItems := make([]uint32, 0)
|
||||
|
||||
Reference in New Issue
Block a user