Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment UI didn't launch #60

Open
MoElnaggar14 opened this issue Nov 20, 2022 · 0 comments
Open

Payment UI didn't launch #60

MoElnaggar14 opened this issue Nov 20, 2022 · 0 comments

Comments

@MoElnaggar14
Copy link

Error type: Serialization
TAP SDK KNOWN ERROR : Serialization 
 Error description : The data couldn’t be read because it is missing. keyNotFound(CodingKeys(stringValue: "verified_application", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "data", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"verified_application\", intValue: nil) (\"verified_application\").", underlyingError: nil)) 
 URL : https://api.tap.company/v2/init 
 Error Response Body : ["data": {
    "encryption_key" = "-----BEGIN PUBLIC KEY-----\nMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEA1gJXa9b++7mmJUupkAuc\nAOCprT4R8sqA90nBuc3pGopWrxupL5Bh4ON33z4FMApONqQ48Dd1UhIeFbr2Tq4g\nxoXbf1h/VrNVgqnwnVyC2pTeyuWmx+gjF6xPrsvu/pYnMO8ON0gus2ACknCXIdtM\nNjGYJjHhldyrme8lD7jPTa0gI4GSLmotx7eeHw4yqsVnRjk+e3noRrxP/yQb1pt7\nuKqLHl1zmGTJXY1veyX3Xr2esxPnbPtcVvi/VzksEnN4x+1RMo+nTCWaFGssWG7H\nQbUKwsrpua/j/sYptq0O6GYlK1UrU24oGJ+Lov391YmzfEENDFc+pDaQbmAIj6Ta\nUwIBEQ==\n-----END PUBLIC KEY-----\n";
    "key_type" = "secret_key";
    "live_mode" = 0;
    livemode = 0;
    merchant =     {
        background =         {
            url = "https://goselljslib.b-cdn.net/photo-1497366754035-f200968a6e72.jpeg";
        };
        logo = "https://www.gotapnow.com/web/tapimg.aspx?cst=6778583";
        name = "";
    };
    "merchant_id" = 6778583;
    "merchant_name" = "";
    permission =     {
        "card_wallet" = 1;
        "pci_dss" = 0;
        threeDSecure = 1;
    };
    permissions =     (
        "card_wallet_enabled"
    );
    "private_key" = "sk_test_ILqX0BOy3HYFN9ufs81jV6Jo";
    "sdk_settings" =     {
        "otp_resend_attempts" = 3;
        "otp_resend_interval" = 60;
        "status_display_duration" = 5;
    };
    "session_token" = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ew0KICAiYXBpX2tleSI6ICJza190ZXN0X0lMcVgwQk95M0hZRk45dWZzODFqVjZKbyIsDQogICJhcGlfa2V5X2lkIjogIlNIcUVPSUpwSktVJTNkIiwNCiAgInNlc3Npb25faWQiOiAic2Vzc19xNUI0MjAyMjE3MTBLYTMyMjAzMjAxMSIsDQogICJyZXF1ZXN0X2lkIjogInJlcWlkX3AzVDIyMDIyMTcxMGw1TFIyMDMwNTExIiwNCiAgIm1lcmNoYW50X2lkIjogIjY3Nzg1ODMiLA0KICAibGl2ZV9tb2RlIjogZmFsc2UsDQogICJwZXJtaXNzaW9ucyI6IFsNCiAgICAiY2FyZF93YWxsZXRfZW5hYmxlZCINCiAgXSwNCiAgImV4cCI6IDE2Njg5NTUyNTUNCn0.s2XE3jRV1kXcO6XGo3e3jrvBpXlYXX39YYb9oF1iwTY";
}, "status": success]
 Error URL Body : <NSHTTPURLResponse: 0x600001304940> { URL: https://api.tap.company/v2/init } { Status Code: 200, Headers {
    "Content-Length" =     (
        1557
    );
    "Content-Type" =     (
        "application/json; charset=utf-8"
    );
    Date =     (
        "Sun, 20 Nov 2022 14:10:55 GMT"
    );
    Etag =     (
        "W/\"615-X8jGqmlCZTh7xJJQ+lc2yWIFcdw\""
    );
    "Strict-Transport-Security" =     (
        "max-age=15552000; includeSubDomains"
    );
    "content-security-policy" =     (
        "img-src imgur.com; script-src 'self'; object-src 'none'; frame-ancestors 'none'; default-src 'none'; base-uri 'self'; form-action 'self'"
    );
    "feature-policy" =     (
        "camera 'none';autoplay 'none'"
    );
    "referrer-policy" =     (
        "no-referrer"
    );
    "x-content-security-policy" =     (
        "img-src imgur.com; script-src 'self'; object-src 'none'; frame-ancestors 'none'; default-src 'none'; base-uri 'self'; form-action 'self'"
    );
    "x-content-type-options" =     (
        nosniff
    );
    "x-dns-prefetch-control" =     (
        off
    );
    "x-download-options" =     (
        noopen
    );
    "x-frame-options" =     (
        SAMEORIGIN
    );
    "x-webkit-csp" =     (
        "img-src imgur.com; script-src 'self'; object-src 'none'; frame-ancestors 'none'; default-src 'none'; base-uri 'self'; form-action 'self'"
    );
    "x-xss-protection" =     (
        "1; mode=block"
    );
} }
Underlying error: The data couldn’t be read because it is missing.
URL response: <NSHTTPURLResponse: 0x600001304940> { URL: https://api.tap.company/v2/init } { Status Code: 200, Headers {
    "Content-Length" =     (
        1557
    );
    "Content-Type" =     (
        "application/json; charset=utf-8"
    );
    Date =     (
        "Sun, 20 Nov 2022 14:10:55 GMT"
    );
    Etag =     (
        "W/\"615-X8jGqmlCZTh7xJJQ+lc2yWIFcdw\""
    );
    "Strict-Transport-Security" =     (
        "max-age=15552000; includeSubDomains"
    );
    "content-security-policy" =     (
        "img-src imgur.com; script-src 'self'; object-src 'none'; frame-ancestors 'none'; default-src 'none'; base-uri 'self'; form-action 'self'"
    );
    "feature-policy" =     (
        "camera 'none';autoplay 'none'"
    );
    "referrer-policy" =     (
        "no-referrer"
    );
    "x-content-security-policy" =     (
        "img-src imgur.com; script-src 'self'; object-src 'none'; frame-ancestors 'none'; default-src 'none'; base-uri 'self'; form-action 'self'"
    );
    "x-content-type-options" =     (
        nosniff
    );
    "x-dns-prefetch-control" =     (
        off
    );
    "x-download-options" =     (
        noopen
    );
    "x-frame-options" =     (
        SAMEORIGIN
    );
    "x-webkit-csp" =     (
        "img-src imgur.com; script-src 'self'; object-src 'none'; frame-ancestors 'none'; default-src 'none'; base-uri 'self'; form-action 'self'"
    );
    "x-xss-protection" =     (
        "1; mode=block"
    );
} }
Body: ["data": {
    "encryption_key" = "-----BEGIN PUBLIC KEY-----\nMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEA1gJXa9b++7mmJUupkAuc\nAOCprT4R8sqA90nBuc3pGopWrxupL5Bh4ON33z4FMApONqQ48Dd1UhIeFbr2Tq4g\nxoXbf1h/VrNVgqnwnVyC2pTeyuWmx+gjF6xPrsvu/pYnMO8ON0gus2ACknCXIdtM\nNjGYJjHhldyrme8lD7jPTa0gI4GSLmotx7eeHw4yqsVnRjk+e3noRrxP/yQb1pt7\nuKqLHl1zmGTJXY1veyX3Xr2esxPnbPtcVvi/VzksEnN4x+1RMo+nTCWaFGssWG7H\nQbUKwsrpua/j/sYptq0O6GYlK1UrU24oGJ+Lov391YmzfEENDFc+pDaQbmAIj6Ta\nUwIBEQ==\n-----END PUBLIC KEY-----\n";
    "key_type" = "secret_key";
    "live_mode" = 0;
    livemode = 0;
    merchant =     {
        background =         {
            url = "https://goselljslib.b-cdn.net/photo-1497366754035-f200968a6e72.jpeg";
        };
        logo = "https://www.gotapnow.com/web/tapimg.aspx?cst=6778583";
        name = "";
    };
    "merchant_id" = 6778583;
    "merchant_name" = "";
    permission =     {
        "card_wallet" = 1;
        "pci_dss" = 0;
        threeDSecure = 1;
    };
    permissions =     (
        "card_wallet_enabled"
    );
    "private_key" = "sk_test_ILqX0BOy3HYFN9ufs81jV6Jo";
    "sdk_settings" =     {
        "otp_resend_attempts" = 3;
        "otp_resend_interval" = 60;
        "status_display_duration" = 5;
    };
    "session_token" = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ew0KICAiYXBpX2tleSI6ICJza190ZXN0X0lMcVgwQk95M0hZRk45dWZzODFqVjZKbyIsDQogICJhcGlfa2V5X2lkIjogIlNIcUVPSUpwSktVJTNkIiwNCiAgInNlc3Npb25faWQiOiAic2Vzc19xNUI0MjAyMjE3MTBLYTMyMjAzMjAxMSIsDQogICJyZXF1ZXN0X2lkIjogInJlcWlkX3AzVDIyMDIyMTcxMGw1TFIyMDMwNTExIiwNCiAgIm1lcmNoYW50X2lkIjogIjY3Nzg1ODMiLA0KICAibGl2ZV9tb2RlIjogZmFsc2UsDQogICJwZXJtaXNzaW9ucyI6IFsNCiAgICAiY2FyZF93YWxsZXRfZW5hYmxlZCINCiAgXSwNCiAgImV4cCI6IDE2Njg5NTUyNTUNCn0.s2XE3jRV1kXcO6XGo3e3jrvBpXlYXX39YYb9oF1iwTY";
}, "status": success] 
 The operation couldn’t be completed. (goSellSDK.TapSDKKnownError error 1.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant