improved logging in callbacks
This commit is contained in:
@@ -7,7 +7,6 @@ import 'package:pshared/provider/resource.dart';
|
||||
import 'package:pshared/service/payment/multiple.dart';
|
||||
import 'package:pshared/utils/exception.dart';
|
||||
|
||||
|
||||
class MultiPaymentProvider extends ChangeNotifier {
|
||||
late OrganizationsProvider _organization;
|
||||
late MultiQuotationProvider _quotation;
|
||||
@@ -30,6 +29,7 @@ class MultiPaymentProvider extends ChangeNotifier {
|
||||
|
||||
Future<List<Payment>> pay({
|
||||
String? idempotencyKey,
|
||||
String? clientPaymentRef,
|
||||
Map<String, String>? metadata,
|
||||
}) async {
|
||||
if (!_organization.isOrganizationSet) {
|
||||
@@ -52,6 +52,7 @@ class MultiPaymentProvider extends ChangeNotifier {
|
||||
_organization.current.id,
|
||||
quoteRef,
|
||||
idempotencyKey: idempotencyKey,
|
||||
clientPaymentRef: clientPaymentRef,
|
||||
metadata: metadata,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user