Giter Site home page Giter Site logo

welrachid / mobilepay-appswitch-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidskaarup/mobilepay-appswitch-sdk

0.0 0.0 0.0 53.19 MB

Technical documentation on how to implement MobilePay AppSwitch SDK

License: Other

Objective-C 77.99% Java 22.01%

mobilepay-appswitch-sdk's Introduction

MobilePay AppSwitch SDK

The MobilePay SDK enables your app to receive payments through the MobilePay app.

How it works

  1. You initiate the payment from your own app through the SDK.

  2. It automatically switches to the MobilePay App where the user is asked to sign in.

  3. The user confirms the payment.

  4. The receipt is shown and the user can either tap "videre" or wait one second. A counter is showing the time remaining.

  5. MobilePay switches back to your own app together with a MobilePay transactionId.

Recommendations

  • Check out MobilePay AppSwitch documentation on github.
  • Make sure you generate unique order ID’s, otherwise calling Refund endpoint can cause trouble.
  • Make sure you do polling on payment status on your backend and do not rely on getting the response from MobilePay through the SDK. If your backend get a status ‘Reserved’ – the user has swiped and the order can be completed and payment can be captured though the MobilePay AppSwitch API.
  • Use App code obfuscasion to make it more difficult to do reverse-engineering.
  • Make sure you do backend validation of the reservation details from the app, e.g. the amount.
  • Testing must be done in production with real money, however you can do testing in the SDK from the app by using a test merchant id to get started.

Latest SDK Version

Latest version is 2.2.0. See the release notes here

Support

For technical questions about the MobilePay AppSwitch SDK or other related questions, please contact us via e-mail at [email protected]

Requirements

Please look at the MobilePay Developer Portal for further details MobilePay Developer Portal

MerchantID for test purposes

The MerchantID for testing depends on which country you are targeting. The following IDs can be used:

APPDK0000000000 - Denmark

APPFI0000000000 - Finland

When the test MerchantID is used you are able to complete the payment flow from a user perspective without transferring any money.

Cross-platform

Please look at the wiki page for further details wiki site

Documentation

mobilepay-appswitch-sdk's People

Contributors

torbenvallund avatar hebohebo avatar tfctrifork avatar kauz-mobilepay avatar dariusmdanske avatar esotrifork avatar rimasr avatar

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.