intent reference generation + propagation
This commit is contained in:
@@ -13,7 +13,6 @@ import 'package:pshared/models/payment/quote/quotes.dart';
|
||||
import 'package:pshared/service/authorization/service.dart';
|
||||
import 'package:pshared/service/services.dart';
|
||||
|
||||
|
||||
class MultiplePaymentsService {
|
||||
static final _logger = Logger('service.payment.multiple');
|
||||
static const String _objectType = Services.payments;
|
||||
@@ -38,6 +37,8 @@ class MultiplePaymentsService {
|
||||
String quoteRef, {
|
||||
String? idempotencyKey,
|
||||
Map<String, String>? metadata,
|
||||
String? intentRef,
|
||||
List<String>? intentRefs,
|
||||
}) async {
|
||||
_logger.fine(
|
||||
'Executing multiple payments for quote $quoteRef in $organizationRef',
|
||||
@@ -46,6 +47,8 @@ class MultiplePaymentsService {
|
||||
idempotencyKey: idempotencyKey ?? const Uuid().v4(),
|
||||
quoteRef: quoteRef,
|
||||
metadata: metadata,
|
||||
intentRef: intentRef,
|
||||
intentRefs: intentRefs,
|
||||
);
|
||||
|
||||
final response = await AuthorizationService.getPOSTResponse(
|
||||
|
||||
Reference in New Issue
Block a user