npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@xcoobee/react-native-xcoobee-payment-sdk

v1.0.8

Published

XcooBee SDK module that provides functionality for XcooBee payment.

Downloads

3

Readme

XcooBee Contactless Payment SDK for React Native

Description

The XcooBee contactless payment system is a complete shopping cart and checkout system that can be included in your projects (mobile or web) quickly. In order to fully use this you will need a XcooBee account ( Professional, Business, or Enterprise) and an active “Payment Project” created.

The SDK simplifies the generation of URLs and QRs. Smart QRs and URLs can cover many different use cases.

The URLs can be send to remote user or embedded in a website to quickly add a shopping cart system with a few lines. Examples of this could be "Pay" button or links "add to cart" links for merchandise that is sold on the site.

The URLs can help you build a very simply shopping system that is focused on cart and checkout. Nothing else is needed.

Touchless smart QRs can be used with users that are directly in vicinity of your app or to start a shopping/payment process from physical media like signs and printed materials. Examples of this would include restaurant menus, flyers, catalogs, books, invoices, statements, etc..

Installation

There is one pre-requisite. You'll need to install react-native-svg library first.

Install react-native-svg

with NPM:

npm install react-native-svg

with Yarn:

yarn add react-native-svg

Link react-native-svg

with React Native:

react-native link react-native-svg

with Expo:

expo install react-native-svg

Install react-native-xcoobee-payment-sdk

with NPM:

npm install @xcoobee/react-native-xcoobee-payment-sdk

with Yarn:

yarn add @xcoobee/react-native-xcoobee-payment-sdk

Using

import XcooBeePaySDK from '@xcoobee/react-native-xcoobee-payment-sdk';

XcooBeePaySDK.setSystemConfig({
  campaignId: 'a00.aa0000000',
  formId: 'a000'
});

export default function App() {
  const XcooBeePayQR = XcooBeePaySDK.createPayQR(12.34);

  return (
    <View style={styles.container}>
      <Text>Please scan and pay touchless</Text>
      {XcooBeePayQR}
    </View>
  );
}

Documentation

To overview documentation please follow documentation link.