Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Flutter example show error 500 #1

Description

@alexlovar

hello, i trying to implement dapi in my app, but the sample is outdated, the base url is incorrect: connect.dapi.co returns 500

i tried with https://connect.dapi.co/v3/connection,

String generateConnectInitializationUrl(){
    var baseUrl = "connect.dapi.co";
    var config = {
      "appKey":.....
    "environment": "sandbox",
      "redirectUri": "https://google.com",
      "countries": ['MX'],
      "isMobile" : "true",
      "isWebview": "true"
    };

    return Uri.https(baseUrl, '/v3/connection', config).toString();

i get the server error 500

can you help me to connect my flutter app?

thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions