fix: some problems are fixed

This commit is contained in:
2026-07-05 18:40:53 +03:30
parent 5017e9a613
commit e94f03c499
16 changed files with 384 additions and 152 deletions
+2 -2
View File
@@ -21,12 +21,12 @@ class BazaarPaymentGateway implements PaymentGateway {
}
@override
Future<PurchaseResult> purchase(String productSku) async {
Future<PurchaseResult> purchase(String productSku, {String payload = ''}) async {
try {
await connect();
final info = await FlutterPoolakey.purchase(
productSku,
payload: 'hakemsho',
payload: payload.isNotEmpty ? payload : 'hakemsho',
);
if (info.purchaseToken.isEmpty) {
return const PurchaseResult.failure();