React Native Ecom Portmone

React Native Ecom Portmone

react-native-ecom-portmone React Native Ecom Portmone Portmone eCommerce SDK Portmone SDK supports version Android 4.4 KitKat, API level 19 and latest versions.

React Native Ecom Portmone

Portmone eCommerce SDK

Usage

General description

Portmone SDK supports version Android 4.4 KitKat, API level 19 and latest versions.

Integration

### build.gradle (project level)
allprojects {
   repositories {
       google()
       jcenter()

       mavenCentral()
       maven {
           url "https://github.com/Portmone/Android-e-Commerce-SDK/raw/master/"
       }

   }
}
### build.gradle (app level)
dependencies {
       implementation 'com.portmone.ecomsdk:ecomsdk:1.3.3'
}

Install

$ yarn add @kyivstarteam/react-native-ecom-portmone
  • React Native 0.60+

CLI autolink feature links the module while building the app.

  • React Native <= 0.59
$ react-native link @kyivstarteam/react-native-ecom-portmone

Import

import PortmoneSDK from '@kyivstarteam/react-native-ecom-portmone';

Portmone SDK

import PortmoneSdk, { PaymentType } from '@kyivstarteam/react-native-ecom-portmone';

type Locale = 'uk' | 'ru' | 'en';

const locale: Locale = 'uk';

interface SavingCard {
    token: string
}

const payeeId: string = 'Your payee id';
const phoneNumber: string = '681234567';
const amount: number = 10
const type: PaymentType = 'account';

const portmoneSdk = new PortmoneSdk(locale);

initPayWithoutSavingCard = () => {
    portmoneSdk.initCardPayment(payeeId, phoneNumber, amount, type);
}

initSavingCard = async () => {
    const result: SavingCard = await portmoneSdk.initCardSaving(payeeId);
}

Download Details:

Author: kyivstarteam

Source Code: https://github.com/kyivstarteam/react-native-ecom-portmone

react-native react mobile-apps

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

React Native Mobile App Development

Skenix is providing React Native Development Services with qualified React Native App Developers. Get the best React Native App Development Services.

How React Native Is Shaping Mobile App Development

Are you a mobile app developer looking for more efficient tools for your projects? Mobile app development is getting tougher and tougher as the market continues to grow. As a developer, you need to develop Apps which meet the demands of your users. To achieve this, adopt the right tools, like the React Native development framework.

Top React Native Mobile App Development Companies in USA

Looking for top React Native mobile app development company in USA for Startups & Enterprise? Find out the top list of React Native mobile app development company in USA.

Which is the best React Native app development company in New York?

Hire top react native app development company in New York to build and develop custom react native mobile apps for Android & iOS with the latest features.