improved message handling

This commit is contained in:
Stephan D
2026-02-03 17:49:10 +01:00
parent 7d69e52679
commit 979a0ac917
2 changed files with 6 additions and 0 deletions

View File

@@ -113,6 +113,8 @@ func (p *paymentExecutor) submitCardPayoutPlan(ctx context.Context, payment *mod
MaskedPan: strings.TrimSpace(card.MaskedPan),
Metadata: meta,
OperationRef: operationRef,
IntentRef: payment.Intent.Ref,
IdempotencyKey: payment.IdempotencyKey,
}
resp, err := p.deps.mntx.client.CreateCardTokenPayout(ctx, req)
if err != nil {
@@ -139,6 +141,9 @@ func (p *paymentExecutor) submitCardPayoutPlan(ctx context.Context, payment *mod
CardExpMonth: card.ExpMonth,
CardHolder: holder,
Metadata: meta,
OperationRef: operationRef,
IntentRef: payment.Intent.Ref,
IdempotencyKey: payment.IdempotencyKey,
}
resp, err := p.deps.mntx.client.CreateCardPayout(ctx, req)
if err != nil {