Tap-Payments / gosellSDK-Flutter

Flutter plugin for goSellSDK
MIT License
11 stars 24 forks source link

invalid api key #13

Open saioufe opened 3 years ago

saioufe commented 3 years ago

i'm using tap payment for the first time and i made an account on their website but i'm getting an "Invalid API key "

how can i fix this error and from where i can find these keys

**Future configureApp() async { //GoSellSdkFlutter.startPaymentSDK

GoSellSdkFlutter.configureApp(
    bundleId: Platform.isAndroid
        ? ""
        : "",
    productionSecreteKey: Platform.isAndroid ? "" : "",
    sandBoxsecretKey: Platform.isAndroid
        ? ""
        : "",
    lang: "en");

}**

i can't find the productionSecreteKey && sandBoxsecretKey

please help me

sanu-krishnan commented 3 years ago
  1. Signin to tap account
  2. click gosell
  3. Open APIcredentials
leostelon commented 3 years ago
  1. Signin to tap account
  2. click gosell
  3. Open APIcredentials

In that which one is productionSecreteKey and sandBoxSecreteKey, I tried both vice versa and still, I'm getting the same error!!1

kareemTap commented 3 years ago

@LeoStelon Please contact Tap Support so you can validate your keys.

iMaz1n commented 2 years ago
  1. Signin to tap account
  2. click gosell
  3. Open APIcredentials

needs to verified account? or can with testing mode?

abdullahehab commented 1 year ago

i have same issue when get the sandBox_key and change sdkMode to SDKMode.Sandbox the problem still exists

Do I need to contact Tap Support to validate keys ??

ahmedElsarag commented 1 year ago

Accessing hidden method Ljava/lang/invoke/MethodHandles$Lookup;->(Ljava/lang/Class;I)V (unsupported, reflection, allowed)

AdelDaniel commented 3 months ago

Same Issue Here:

The ClassLoaderContext is a special shared library.
I/System.out(25377): SDK Process Error : {"errors":[{"code":"2104","description":"Invalid API Key"}]}
I/System.out(25377): SDK Process Error : Invalid API Key
I/System.out(25377): SDK Process Error : 401
I/System.out(25377): success coming from delegate : {sdk_error_code=401, sdk_result=SDK_ERROR, sdk_error_message=Invalid API Key, sdk_error_description={"errors":[{"code":"2104","description":"Invalid API Key"}]}}
I/flutter (25377): result in dart : {sdk_error_code: 401, sdk_result: SDK_ERROR, sdk_error_message: Invalid API Key, sdk_error_description: {"errors":[{"code":"2104","description":"Invalid API Key"}]}}
I/flutter (25377): SDK Result>>>> SDK_ERROR
I/flutter (25377): sdk error............
I/flutter (25377): 401
I/flutter (25377): Invalid API Key
I/flutter (25377): {"errors":[{"code":"2104","description":"Invalid API Key"}]}
I/flutter (25377): sdk error............