checkout backoffice
This commit is contained in:
@@ -144,9 +144,10 @@ func (s *CheckoutPoolServer) AdyenHookHandler(w http.ResponseWriter, r *http.Req
|
||||
}
|
||||
if isSuccess {
|
||||
msgs = append(msgs, &messages.PaymentCompleted{
|
||||
PaymentId: item.PspReference,
|
||||
Status: item.Success,
|
||||
Amount: item.Amount.Value,
|
||||
PaymentId: item.PspReference,
|
||||
Status: item.Success,
|
||||
Amount: item.Amount.Value,
|
||||
CompletedAt: timestamppb.Now(),
|
||||
})
|
||||
} else {
|
||||
msgs = append(msgs, &messages.PaymentDeclined{
|
||||
|
||||
Reference in New Issue
Block a user