1.0.4 • Published 1 year ago

skrape-payment v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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
1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago