- Added confirmations parameter to ICryptoPaymentService.ProcessPaymentWebhookAsync - Updated CryptoPaymentService implementation to pass confirmations parameter - Fixes build error: interface member signature mismatch 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
661 B
C#
13 lines
661 B
C#
using LittleShop.DTOs;
|
|
using LittleShop.Enums;
|
|
|
|
namespace LittleShop.Services;
|
|
|
|
public interface ICryptoPaymentService
|
|
{
|
|
Task<CryptoPaymentDto> CreatePaymentAsync(Guid orderId, CryptoCurrency currency);
|
|
Task<IEnumerable<CryptoPaymentDto>> GetPaymentsByOrderAsync(Guid orderId);
|
|
Task<bool> ProcessPaymentWebhookAsync(string invoiceId, PaymentStatus status, decimal amount, string? transactionHash = null, int confirmations = 0);
|
|
Task<bool> ProcessSilverPayWebhookAsync(string orderId, PaymentStatus status, decimal amount, string? transactionHash = null, int confirmations = 0);
|
|
Task<PaymentStatusDto> GetPaymentStatusAsync(Guid paymentId);
|
|
} |