diff --git a/internalsdk/session_model.go b/internalsdk/session_model.go index 7c7728d6d..07e05acd5 100644 --- a/internalsdk/session_model.go +++ b/internalsdk/session_model.go @@ -898,7 +898,7 @@ func submitApplePayPayment(m *SessionModel, planId string, purchaseToken string) if err != nil { return err } - log.Errorf("Purchase Request response %+v", purchase) + log.Debugf("Purchase Request response %+v", purchase) if purchase.Status != "ok" { return errors.New("Purchase Request failed") diff --git a/lib/core/purchase/app_purchase.dart b/lib/core/purchase/app_purchase.dart index 178ac2e13..ddf6f7f12 100644 --- a/lib/core/purchase/app_purchase.dart +++ b/lib/core/purchase/app_purchase.dart @@ -74,7 +74,7 @@ class AppPurchase { Future _handlePurchase(PurchaseDetails purchaseDetails) async { if (purchaseDetails.status == PurchaseStatus.canceled) { // User has canceled the purchase - _onError?.call(purchaseDetails); + _onError?.call("Purchase canceled"); return; } if (purchaseDetails.status == PurchaseStatus.purchased) {