Giter Club home page Giter Club logo

mcs-commerce-web's People

Contributors

bdeasy avatar cesar-oyarzun-m avatar hangingwater avatar sishar4 avatar therobin1226 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mcs-commerce-web's Issues

SDK Update - Which library to use ?

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

Issue

startURLSchemeTask not triggered after canceled

Steps

__ Log at decidePolicyForNavigationAction__

  1. Press button Masterpass
  2. Webview show up
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&currency=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&currency=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
  1. Press X to close webview
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/
  1. startURLSchemeTask got called and webview close

  2. Press button Masterpass again

  3. 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&currency=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&currency=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
  1. Press X to close webview
  2. startURLSchemeTask not called.
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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.