I've successfully implemented the MEC pattern in a couple of native applications using the MECL library as described in:
https://www.x.com/developers/paypal/documentation-tools/express-checkout/integration-guide/ECOnMobileDevices
The library (both iOS and Android packages) can be found here:
https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index?qt-paypal_sdk_index=2#qt-paypal_sdk_index
Unfortunately, the new http://developer.paypal.com website seem to have forgotten that once this library existed.
What should I do? Remove the library and do the express checkout without the DRT (device reference token) provided by the library? Or is it safe to still use it?
My app uses the DRT id to ask the server whether the payment was completed, and so a failure to get the token would compromise the ability to perform payments.
Mobile Express Checkout process is still around and available to use. There isn't any official code samples though and that is kind of a bummer.
You can use the Merchant SDK to get a working example of the full-site Express Checkout process and make changes to it as needed.
We're trying to get people to use the new iOS and Android SDK's.
Here is a link to a setup guide for Mobile Express Checkout:
https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/integration-guide/ECOnMobileDevices/
It goes into detail on the differences (mostly just the redirect URL) and I hope gets you a place to start.
Sorry!
Related
I need to clarify a doubt in the development of Dapp, when creating a mobile app with flutter can I use web3 to connect with the wallet and the blockchain?
[Edit 2021-12-02] I just found this https://pub.dev/packages/flutter_web3, it is web only but seems to be compatible with WalletConnect QR codes connection, so it is probably worth a try.
Original answer:
I believe you can check out flutter_web3_provider but it only works for web.
I believe you can also use WalletConnect to support mobile wallets like these ones, but I haven't found a wrapper/implementation for flutter so you would need to implement that. But the good news is you would be able to use it in native apps. I see there is a react-native implementation so hopefully somebody will write the flutter implementation soon. You can support/like the request here.
Also you can directly sign and send transactions to an RPC server (a more direct gate to the blockchain) using web3dart, but of course you would need to ask for and/or store the user's private key, which is probably not what you want.
There are lots of ready-made Flutter integrations for different payment processors for the two mobile platforms, but I can't find any that support web. Is that because there are none?
So far I've been looking at: https://github.com/Techie-Qabila/stripe_api - which seems to be out of date. I'm also seeing this question asked a bunch of times over the last few months. Looking for any suggestions on how to accept payments in Flutter Web.
You'll need to investigate & ask this of the maintainers of the various community libraries offer Flutter plugins, whether they can target web in addition to Android/ios. In particular this one appears to support web and includes an example.
Short of that, you can try using WebViews and Stripe.js as a workaround.
I've not found a good all in one solution for iOS, Android & Web that can
Accept digital payments on all platforms correctly (using IAP and Web solutions)
Accept physical payments (bypassing Apple/Android iAP)
I have an iOS app that uses deep linking as part of an out-of-app authentication flow within a web view. Upon authentication, a redirect is made back to the app with the deep link prefix.
Ive installed the Facebook SDK because I wanted to track conversions, but after doing so, it seems to have disabled my deep linking functionality.
Is this expected, and if so, how do I get around it?
I figured out that the SDK will overwrite any of the URL types that you have specified in the project info. So you need to re-add your original deep link(s)
I want to use deep link in my FaceBook ads install campaign.
According to Branch docs: https://docs.branch.io/deep-linked-ads/facebook-app-install-ads/#optional-deep-link-your-app-install-campaign
Unfortunately, we've found that the direct S2S mechanism for retrieving deep links is rather unreliable. We recommend that you have the Facebook Android / iOS SDKs installed so Branch can work directly with them on the client side for the best outcome.
I need to integrate Facebook SDK and then call:
Branch.getAutoInstance(this).enableFacebookAppLinkCheck();
But this method is not exist in Unity Plugin (https://docs.branch.io/apps/unity/)
Any ideas how to overcome that problem?
We don't have a wrapper for this method call. Please call the code from the Native Android files.
Marketing specialists keep instructing my client to setup the analytics so that it can track where the user is being referred from so that we can optimize the advertising campaigns.
When I ask them how to setup the tracking correctly they send me to a link for the native Android & iOS google analytics libraries and provide the settings. I respond in kind stating that our app is not built using the native SDK's it is built using the Ionic Framework. They then have no response for this.
I have Google Analytics implemented as well as Facebook analytics. Both systems are actively tracking data. But apparently it is still not tracking the source of which advertising campaign the user originated from and / or installed the app from.
I've tried to find an example of this somewhere and talked to numerous people but from what I can tell it is not possible using the Ionic Framework.
Can anyone provide some insight into this? If this is not possible it seems like a rather large issue with the Ionic Platform that should be made more visible.
Thank you!