🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

skrape-payment

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skrape-payment

skrape payment ui library

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
19
1800%
Maintainers
1
Weekly downloads
 
Created
Source

Skrape payment

The official react native ui library for processing payments with Skrape

Installation

Install skrape-payment with npm

  npm install skrape-payment

Usage/Examples

import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
import { SkrapePayBtn } from "skrape-payment";


export default function App() {
  return (
    <View style={styles.container}>
      <SkrapePayBtn
        apiKey="skr_test_7e7bf500-cbd5-4fdc-bb7e-5cebb8d33bba"
        customStyle={styles.button}
        amount="1000"
        title="pay book"
        description="working v2 shsh shsh" />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: "#fff",
    alignItems: "center",
    justifyContent: "center",
  },
});

}

API Reference

ParameterTypeDescription
apiKeystringRequired. Your API key either test or live
customStyleobjectOptional. Add custom styling on the button
amountstringOptional. do not provide if you want users to enter amount
titlestringRequired. Title of your product
descriptionstringRequired. Some description about your product

FAQs

Package last updated on 10 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts