mastercard / mcs-commerce-web Goto Github PK
View Code? Open in Web Editor NEWObjective-C iOS wrapper for Mastercard's web SRC Initiator
License: Apache License 2.0
Objective-C iOS wrapper for Mastercard's web SRC Initiator
License: Apache License 2.0
Hello,
We currently use MfsIOSLibrary in our e-commerce app but we want to update the sdk to a newer version. When I searched the internet about MfsIOSLibrary, it directed to me to this one = Masterpass Checkout iOS SDK v2.0 and indicating that the sdk's last version is v2.8.
I also found this repository MCSCommerceWeb which is similar to Masterpass Checkout iOS SDK, so I am a little bit confused about which one should I choose? Could you help me?
Thanks in advance.
startURLSchemeTask
not triggered after canceled
__ Log at decidePolicyForNavigationAction
__
2020-07-08 10:51:53.056855+0700 example[81186:452210] urlString: https://sandbox.masterpass.com/routing/v2/mobileapi/web-checkout/?amount=100&channel=mobile&cartId=123&allowedCardTypes=master&suppressShippingAddress=false&masterCryptoFormat=ICC,UCAF&sdkVersion=1.0&platform=ios¤cy=USD&checkoutId=9faa3ba8ca08459eb070d93b9e8d9498
2020-07-08 10:51:54.353624+0700 example[81186:452210] urlString: https://sandbox.masterpass.com/switchui/index.html?flow=checkout&allowedCardTypes=master&cartId=123¤cy=USD&amount=100.0&checkoutId=9faa3ba8ca08459eb070d93b9e8d9498&checkoutVersion=v6&suppressShippingAddress=false&precheckoutTransactionId=precheckoutTransactionId&masterCryptoFormat=ICC%2CUCAF
2020-07-08 10:51:54.746528+0700 example[81186:452210] urlString: about:blank
2020-07-08 10:51:54.859629+0700 example[81186:452210] urlString: about:blank
2020-07-08 10:51:56.997978+0700 example[81186:452210] urlString: mymerchantapp:///?oauth_token=5a0d3fb795add200b1612853bc5d819e631680ef&mpstatus=cancel
2020-07-08 10:52:11.954294+0700 example[81186:452210] urlString: https://www.masterpass.com/
startURLSchemeTask got called and webview close
Press button Masterpass again
Webview show up
2020-07-08 10:52:14.122321+0700 example[81186:452210] urlString: https://sandbox.masterpass.com/routing/v2/mobileapi/web-checkout/?amount=100&channel=mobile&cartId=123&allowedCardTypes=master&suppressShippingAddress=false&masterCryptoFormat=ICC,UCAF&sdkVersion=1.0&platform=ios¤cy=USD&checkoutId=9faa3ba8ca08459eb070d93b9e8d9498
2020-07-08 10:52:16.646574+0700 example[81186:452210] urlString: https://sandbox.masterpass.com/switchui/index.html?flow=checkout&allowedCardTypes=master&cartId=123¤cy=USD&amount=100.0&checkoutId=9faa3ba8ca08459eb070d93b9e8d9498&checkoutVersion=v6&suppressShippingAddress=false&precheckoutTransactionId=precheckoutTransactionId&masterCryptoFormat=ICC%2CUCAF
2020-07-08 10:52:17.476671+0700 example[81186:452210] urlString: about:blank
2020-07-08 10:52:17.938396+0700 example[81186:452210] urlString: about:blank
2020-07-08 10:52:19.062923+0700 example[81186:452210] urlString: https://sandbox.masterpass.com/switchui/
2020-07-08 10:52:20.020670+0700 example[81186:452210] urlString: about:blank
2020-07-08 10:52:20.456299+0700 example[81186:452210] urlString: about:blank
As you can see the log above, in the second time, after press X, it redirect to https://sandbox.masterpass.com/switchui/
. Do you have any suggestion?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.