#haroon_error

1 messages ยท Page 1 of 1 (latest)

patent geyserBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1405274613692366999

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

wintry skiff
#

Yes I used webview + also used external url launcher but nothing works fine.
IconButton(
onPressed: () async {
// Show a loading indicator while we fetch the URL from the backend
showDialog(
context: context,
barrierDismissible: false,
builder: (context) =>
const Center(child: CircularProgressIndicator()),
);

          try {
            // 1. Fetch the onboarding URL from your backend
            String url = await onboardingStripe();

            // Close the loading indicator
            Navigator.of(context).pop();

            // Navigator.of(context).push(
            //   MaterialPageRoute(
            //     builder: (context) => WebViewScreen(
            //       url: url,
            //       title: 'Complete Account Setup',
            //     ),
            //   ),
            // );

            Navigator.of(context).push(
              MaterialPageRoute(
                builder: (_) => WebViewScreen(
                  url: url,
                  title: 'Complete Account Setup',
                ),
              ),
            );

            // await openStripeOnboarding(url);
          } catch (e) {
            // Close the loading indicator on error
            Navigator.of(context).pop();

            // Show an error message
            ScaffoldMessenger.of(context).showSnackBar(
              SnackBar(
                content:
                    Text('Could not start onboarding: ${e.toString()}'),
                backgroundColor: Colors.red,
              ),
            );
          }
        },
        icon: Icon(Icons.money))
sinful mantle
#

Hi ๐Ÿ‘‹ I don't know Flutter very well as it isn't a framework that we offer support for.

My suspicion is that whatever your Flutter app is using to display our hosted onboarding flow, doesn't support some of the libraries or APIs that our page is dependent on to offer the ability to prefill test data.

Are you able to progress by manually entering the Connect test data?
https://docs.stripe.com/connect/testing