
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
fincra-checkout-react-native
Advanced tools
This is a react native library for implementing fincra payment gateway
This is a react native library for implementing fincra payment gateway
This React Native library provides a wrapper to add Fincra Payments to your React Native Andriod & iOS application
npm install fincra-checkout-react-native --save
or with yarn
yarn add fincra-checkout-react-native
You can integrate this library into any React Native application by following two simple steps:
FincraPaymentScreen
.import { FincraPaymentScreen } from "fincra-checkout-react-native";
//...
<NavigationContainer>
<Stack.Navigator>
// ...
<Stack.Screen
name="FincraPaymentScreen"
component={FincraPaymentScreen}
options={{ headerShown: false }}
/>
</Stack.Navigator>
</NavigationContainer>;
import { useFincraPayment, FincraInitiate } from "fincra-checkout-react-native";
//...
export default function PaymentScreen() {
const { initiate } = useFincraPayment();
final data = {
publicKey: "pk_test_NjOjoxMzEyMzc=",
amount: 3500,
currency: "NGN",
customerFirstName: "Test",
customerLastName: "User",
customerEmail: "customer@gmail.com",
customerPhone: "081698661421",
feeBearer: "customer",
reference: "9876JLh023",
paymentMethods: ["card", "bank_transfer", "payattitude"],
defaultPaymentMethod: "card",
}
const onClickHandler = ()=>{
initiate({
data,
onSuccess: (response) => {
console.log(response);
},
});
}
return (
<View>
//...
<Button
title="Initiate Payment"
onPress={onClickHandler}
/>
</View>
);
}
FAQs
This is a react native library for implementing fincra payment gateway
The npm package fincra-checkout-react-native receives a total of 5 weekly downloads. As such, fincra-checkout-react-native popularity was classified as not popular.
We found that fincra-checkout-react-native demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.