paytabscom / flutter-sdk-bridge

MIT License
12 stars 11 forks source link

can't initiate any payment #66

Open Ozak93 opened 10 months ago

Ozak93 commented 10 months ago

I'm trying to initiate a payment with test SDK credentials but i keep getting this issue:


- D/FirebasePerformance( 9015): Fetched value: 'true' for key: 'fpr_enabled' from Firebase Remote Config.
- D/FirebasePerformance( 9015): Fetched value: '' for key: 'fpr_disabled_android_versions' from Firebase Remote Config.
- D/FirebasePerformance( 9015): Fetched value: 'true' for key: 'fpr_enabled' from Firebase Remote Config.
- D/FirebasePerformance( 9015): Fetched value: '' for key: 'fpr_disabled_android_versions' from Firebase Remote Config.
- D/FirebasePerformance( 9015): Fetched value: 'true' for key: 'fpr_enabled' from Firebase Remote Config.
- D/FirebasePerformance( 9015): Fetched value: '' for key: 'fpr_disabled_android_versions' from Firebase Remote Config.
- D/EGL_emulation( 9015): app_time_stats: avg=1233.54ms min=1233.54ms max=1233.54ms count=1
- D/FirebasePerformance( 9015): Screen trace: _st_PaymentSdkActivity _fr_tot:0 _fr_slo:0 _fr_fzn:0
- D/EGL_emulation( 9015): app_time_stats: avg=79315.16ms min=79315.16ms max=79315.16ms count=1
- D/FirebasePerformance( 9015): Fetched value: 'true' for key: 'fpr_enabled' from Firebase Remote Config.
- D/FirebasePerformance( 9015): Fetched value: '' for key: 'fpr_disabled_android_versions' from Firebase Remote Config.
- D/FirebasePerformance( 9015): Fetched value: 'true' for key: 'fpr_enabled' from Firebase Remote Config.
- D/FirebasePerformance( 9015): Fetched value: '' for key: 'fpr_disabled_android_versions' from Firebase Remote Config.
- W/FirebasePerformance( 9015): non-positive totalFrames in screen trace _st_PaymentSdkActivity
- W/FirebasePerformance( 9015): Invalid Trace:_st_PaymentSdkActivity
- W/FirebasePerformance( 9015): Unable to process the PerfMetric (trace metric: _st_PaymentSdkActivity (duration: 57.425ms)) due to missing or invalid values. See earlier log statements for additional information on the specific missing/invalid values.

this is my configs:


        var billingDetails = new BillingDetails("billing name",
                      "acc@gmail.com",
                      "+962777777777",
                      "address line",
                      "Jordan",
                      "Amman",
                      "Amman",
                      "11941");

                  var shippingDetails = new ShippingDetails("shipping name",
                      "acc@gmail.com",
                      "+96277777777",
                      "address line",
                      "Jordan",
                      "Amman",
                      "Amman",
                      "11941");
                  var configuration = PaymentSdkConfigurationDetails(
                      profileId: "~~~~~~~~~~",
                      serverKey: "~~~~~~~~~",
                      clientKey: "~~~~~~~~~",
                      tokeniseType: PaymentSdkTokeniseType.MERCHANT_MANDATORY,

                      tokenFormat: PaymentSdkTokenFormat.AlphaNum20Format,
                      merchantName: "PadelMe Club International",
                      screentTitle: "Pay with Card",
                      cartDescription: "padel shop",
                      billingDetails: billingDetails,
                      shippingDetails: shippingDetails,
                      showBillingInfo: false,
                      showShippingInfo: false,
                      transactionType: PaymentSdkTransactionType.SALE,
                      transactionClass: PaymentSdkTransactionClass.ECOM,
                      isDigitalProduct: false,cartId: "123",
                      linkBillingNameWithCardHolderName: true,
                      forceShippingInfo: false,

                      locale: PaymentSdkLocale.EN, //PaymentSdkLocale.AR or PaymentSdkLocale.DEFAULT
                      amount: 599.0,
                      currencyCode: "JOD",
                      merchantCountryCode: "JO");

flutter version 3.13.5 PayTabs Flutter package: 2.6.0