Linking Flutter app to an opencart eCommerce webstore - flutter

My customer had bought an Opencart website and an eCommerce Flutter app (from inspireUI/Fluxstore).
And my job is to implement the payment part into the app, (the app now loads the payment page from the website into a WebView and sync all the data the user had entered).
The user has to complete the web form, adding his credit card and complete the payment process.
Anyone have some documentations or any previous experience to help?
I've searched and contacted inspireUI support team and did not find helpful information.

There is not any documentation like this. You need to track all code and catch what happens.
By the way, you have to be careful while using WebView. There are some annoying issues related to payment like fraud detection and related to AppStore processes. You can read more.

Related

Is there a way to sync shopify customers carts with a mobile flutter app?

I'm looking for a way to synchronize my customers' shopping carts (logged in) to our mobile application (Flutter/dart).
The expected sync is from the site TO the app, because we have some products that use a "configurator" on the site and that can not be accessible on the app. For the moment we put this configurator part in Webview or Launch URL but it makes the clients of the mobile application "go outside the app", just for this specific customizable product.
And if they come back to the app, the product won't be in their cart... it will only be in the cart of their mobile browser. And that's even if they are logged in to their account all the way.
I've tested cart persistence tools, but without success.
But for the moment I haven't found any help or related topic on the net.
If you have any idea or direction to recommend I would be very happy!
Thanks a lot.

Link multiple accounts iOS app - Firebase/Facebook Login & XCode/Swift 5

So I'm building this app for a client (It's a basic scheduling app like HootSuite but simpler) and he wants the ability to add multiple Facebook accounts with an IAP (aka In-App Purchase) after said IAP is purchased. The IAP is all done and works great but I cannot figure out how to link multiple Facebook accounts. I tried to use the same login method that a previous developer used (It's an ongoing freelance project and 2 other devs worked on it before I joined) to no avail since the login process stops once the app realizes that the user has already signed in...
So I guess that my question is this: Is there a way to link multiple Facebook accounts at once in a single iOS app? If so, how exactly? Forget the IAPs if that's too confusing, everything is fine there anyways. The goal is to be as seamless as possible, so ideally there would be no need for the user to log out and log back into the other account (Something I've seen a lot in other Questions/Answers).
I don't think I am authorized to show the code to you guys (that would also require sharing the entire project, it's a real spider-web!), but could someone please lead me in the right direction?
Please let me know if you have any questions!
Thank you in advance.
Notes:
Just like the title says, we use Firebase for our storage, Cloud Firestore for our database and Facebook login (through Firebase) for login since the purpose of the app is to schedule posts on IG.
I use a basic variable called "activeUsers" to track the number of accounts "linked" to the app so we can know whether or not to show the "PurchaseModel" and, obviously, receipt verification and all that for IAPs. Thought it could be useful!
3. When the app starts, you are prompted to link a Facebook account to enable the scheduler. THIS WORKS GREAT! What I am trying to achieve is to add other accounts AFTER the first one has been "enabled"/logged into.
It's not possible to link multiple accounts from the same provider to a single Firebase Auth account.
You can only link multiple accounts of different types (Facebook, Google, GitHub, etc) to a single Firebase account as described in the documentation.

paypal api access page not display fully

I have issue with paypal when request api access.
I have click on selling tools -> API access -> update. Then it redirect to the page https://www.paypal.com/businessmanage/credentials/apiAccess.
After the page fully loaded. It don't display the text below the Learn more link. So I can't process more.
I have changed to different computers, phones, internet connections, browsers but it not solved the problem. I have created another account but it still meet that issue and I don't know why some my friends have used Paypal but don't have this issue. And they still can't solve my situation.
So please help me!
Paypal access API page not display fully

Getting Google OAuth in iOS accepted by Apple

I have developed an iOS app that allows users to login via their Google Account using OAuth.
It was rejected by Apple for allegedly violating 11.13 of the App Store Review Guidelines:
11.13 Apps that link to external mechanisms for purchases or subscriptions to be used in the app, such as a “buy" button that goes to a web site to purchase a digital book, will be rejected
Upon asking for more information, Apple said:
To clarify, your app has been rejected for including means for users to acquire new Google accounts. Linking customers to a page where users may sign up or register new accounts, and then use those accounts to purchase service/server space to be used within the app, is not appropriate and must be removed before resubmitting your app.
Here's a screenshot of the infringing functionality:
The Gmail iOS app has the same screen and I can't find any other app that connects to Google by OAuth so I'm at a loss on how to fix this.
Any ideas?
Many thanks!
EDIT: Here's a screenshot of same offending screen in Gmail
Edit
Google has finally added a native library that performs in-app sign in. You can find it here https://developers.google.com/identity/sign-in/ios/start
Original Post
This has happened to several users and unfortunately Google are still "working" on a solution.
I would strongly recommend that anyone facing this issue please comment in the official forum. The more attention it gets the higher the chance something will be done about it. Here's what one of the employees at Google had to say:
Hi all -- at Google, we aim to make our services available to as many
users and developers as possible. We have heard a very small number of
reports of problems of this type, but those app developers appear to
have eventually gotten approval to launch by working through Apple’s
standard process.
Meantime, we're continuing to work on improved mechanisms for login. I
do agree with Daniel that direct use of GTMOauth2ViewControllerTouch,
or the equivalent UIWebView trickery, is not recommended.
Right now the solution I used was to remove Sign In from the Launch Screen and move it to the menu inside our app.
Place a link mentioned below instead of SignUP button:
https://accounts.google.com/SignUp?service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2Fca%2F&ltmpl=default&hl=en
This link should be open in iOS Safari browser.
I had the exact same thing happen to me, but for a different service (SmugMug). In my situation, I worked with SmugMug and they provided for me an OAuth authorization page that didn't have the sign up button.
Some months ago, same thing with Dropbox. Dropbox also ended up providing a login page without a sign up button temporarily, but they got a little more cooperation with Apple.
Perhaps we can try to collectively get Google to provide the same. Even though we're iOS developers, Im' sure Google wants to support development of iOS apps that use their platform.
Have you tried contacting Google?

How to accept PayPal or credit card payments within Facebook app?

Is it possible to accept credit card payments or execute PayPal transactions within a Facebook app?
The ideal flow is for users to browse a catalog and complete a purchase all within Facebook. Is this possible?
If so, could you provide guides/tutorials for accomplishing this?
To clarify, our understanding is FB takes 30% of FB Credit purchases. We for this reason plan on offering either PayPal or credit card purchases, not FB Credit purchases. Is it possible to allow FB users to purchase with PP or CC instead of FB Credits? If we're wrong on the 30% transaction fee, please let us know. Thx!
Thanks!
Starting July 1st 2011 an app on facebook can only perform transactions with Facebook Credits (ignoring in game 'currency') . I have no idea where the doc covering this is, I'm not involved in that side of things.
This page https://developers.facebook.com/credits/ has this screen shot
which shows PayPal as an option to pay.
Here's a link from FishWorld that is explaining the policy on their forums http://www.talltreegames.com/fwf/showthread.php?3807-Facebook-Credits-Switchover-on-July-1st&p=20350#post20350
FaceBook LINKS!
https://developers.facebook.com/policy/
https://developers.facebook.com/policy/credits/
https://www.facebook.com/payments_terms/
Hopefully this random smattering of information is of some help to you. :)
I don't see anywhere listed that 'ALL' facebook apps must receive payments using Facebook credits. On the following page, https://developers.facebook.com/credits/, I see that it is mandated ONLY for GAME apps as of now.
Quoting from the link above:
Note: Effective July 1, games on Facebook Platform must exclusively process payments through > Facebook Credits. Learn more on the Migration page.
If it is not explicit, I would assume that it is not mandated.
Seeing as a regular Facebook app is no different from a website, albeit in a small`ish iframe. Sure.
I'd look at integrating the Express Checkout for Digital Goods solution for an even better checkout experience; https://www.paypal.com/digitalgoods
Note: You may still want to review the Facebook T&C's on this; I'm not entirely sure if this is allowed by them