I want to integrate ccavenue payment gateway into my flutter app. As there is no package available for this now, I'm planning to implement this in a webview. Can anyone share an example to show how to implement ccavenue with webview in flutter?
Are there any issues if I use this method while building ios application?
How can we get the return data (reference id) back from the payment gateway if I use webview?
if you are using flutter WebView then i recommend you do the checkout process in WebView and return that from order id etc from your website.
Related
I have this flutter app fully done but I want to add a button that say share when user clicks on this button it share the entire apk to a friend either using Xender or any other sharing medium.
I kno it may not be possible on iOS but I want to do this on flutter Android.
How can this be achieved.
Why don't you upload to apk to any storage hosting then send the link when click share.
Another way is to use Flutter share package , you can take a look at the documentation for more info
I'm a flutter dev(switched to flutter from Native mobile apps), trying to build a full on website, so decided to build a hybrid of Flutter + Webflow - marketing home page in Webflow (because I've heard flutter web is not the best for SEO) and the core product pages in flutter.
When tapping on a link in the top menu on home page, it should open the web app built in flutter.
(there'll be a firebase authentication layer in between as well, and if it's an authenticated user, it can directly go to the flutter web app, without showing the home page).
I'm new to web development, so my knowledge in web is very limited. Looking for advice on how to implement it! Is it easy(or stupid)?
I'm building an app where the user can purchase an item. The payment is handled by Stripe and Klarna on a website opened with url_launcher.
My question is how to properly return the user to the app after the purchase is successful. Stripe allows a return_url to be passed which could be a Firebase dynamic link that opens the app. Would this work since the website could possibly have been launched in a in-app browser? Or is it just better to use a WebView and monitor the url for the success one?
Any other thoughts are appreciated.
I think you can solve this using Deep Links.
I have two applications. customer app and vendor app. How to open vendor app from customer app when click button?
Is it possible to open another application from the Flutter app?
com.demo.customer and com.demo.vendor
I tried url_launcher. but It cannot give package name and open another application.
And also I tried this package,device_apps but not working for ios.
Should be work on Android and ios.
You need to register a custom url scheme for the app you want to open.
You can read more here:
For iOS: iOS Documentation
For Android: Android Documentation
There's also a nice plugin that can handle deeplink actions for Flutter.
Flutter Uni Links
When you have registered a custom url scheme (for example: demo://vendor) you can just call that url with url_launcher plugin:
launchUrl('demo://vendor')
I want to integrate PayPal payments in my flutter app but that functionality does not exist. I chose to use a flutter webview to load an html file that integrated the PayPal JavaScript SDK.
When I click on the PayPal button nothing happens. I think it's because the flutter Webview can't open another page for the payment process.
How can I bypass that problem?
With the plugin Flutter LiquidCore(https://pub.dartlang.org/packages/flutter_liquidcore) you can execute Node.js or JavaScript code within a virtual machine. Have a look at it, maybe it's just a WebView bug