Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@reevit/vue

Latest version: v0.14.2

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: reevit
0 Stars
0 Forks
3 Versions
164 Downloads
TypeScript Repo language

Scan summary

@reevit/vue was last scanned on 25 Nov 2026 at version 0.14.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest 2 were published on 25 Nov 2026.
  • Findings: No rules fired in version 0.14.2.
  • Downloads: 164 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.14.2 LATEST 25 Nov 2026 No rules fired
0.14.1 25 Nov 2026 No rules fired
0.11.0 24 Sep 2026 No rules fired

No rules fired in 0.14.2

Findings

Findings for v0.14.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.14.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@reevit/vue

Vue 3 SDK for integrating Reevit unified payments into your application.

Installation

npm install @reevit/vue

Compatibility

@reevit/core is a regular dependencies entry of this package — npm installs it for you. Do not add it to your own package.json unless you import it directly.

@reevit/vue Requires @reevit/core
0.11.x ^0.9.1 (>=0.9.1 <0.10.0)
0.10.x ^0.9.1 (>=0.9.1 <0.10.0)
0.9.x ^0.9.0 (>=0.9.0 <0.10.0)

On a 0.x package a caret range pins the minor, not the major: ^0.9.0 resolves to >=0.9.0 <0.10.0. A future @reevit/core 0.10.0 is therefore not picked up automatically — the React, Vue and Svelte manifests have to be bumped together in the same release.

Quick Start

The simplest way to integrate Reevit is using the ReevitCheckout component.

<script setup lang="ts">
import { ReevitCheckout } from '@reevit/vue';
import '@reevit/vue/styles.css';

const handleSuccess = (result: any) => {
  console.log('Payment success!', result);
};

const handleError = (error: any) => {
  console.error('Payment failed:', error);
};
</script>

<template>
  <ReevitCheckout
    publicKey="pfk_test_xxx"
    :amount="10000"
    currency="GHS"
    email="customer@example.com"
    idempotencyKey="order_12345"
    @success="handleSuccess"
    @error="handleError"
  >
    <template #default="{ open, isLoading }">
      <button 
        class="my-pay-button" 
        :disabled="isLoading" 
        @click="open"
      >
        {{ isLoading ? 'Loading...' : 'Pay GHS 100.00' }}
      </button>
    </template>
  </ReevitCheckout>
</template>

Server-created Checkout Sessions

For production checkouts, create the payment session on your backend with a server SDK, then pass the returned session_secret to Vue. The browser never creates the payment intent directly, so amount and currency are not needed — they come from the session.

<ReevitCheckout
  :sessionSecret="checkoutSession.session_secret"
  :paymentMethods="['card', 'mobile_money']"
  @success="handleSuccess"
  @error="handleError"
/>

Keep the session secret in the browser, but never expose your private Reevit API key.

Idempotency

Provide an idempotencyKey tied to your order/cart to avoid duplicate intent creation and enable safe retries.

<ReevitCheckout
  publicKey="pfk_test_xxx"
  :amount="10000"
  currency="GHS"
  idempotencyKey="order_12345"
/>

Controlled Modal

You can control the open state yourself.

<script setup>
const open = ref(false);
</script>

<template>
  <ReevitCheckout
    publicKey="pfk_test_your_key"
    :amount="10000"
    currency="GHS"
    :isOpen="open"
    @close="open = false"
  />
</template>

Success Screen Delay

By default, the checkout shows a success screen for 5 seconds before calling @success and closing. Override with successDelayMs (set to 0 for immediate close).

<ReevitCheckout :successDelayMs="0" />

Custom Theme

<ReevitCheckout
  :theme="{
    primaryColor: '#00D1B2',
    backgroundColor: '#FFFFFF',
    darkMode: false,
    borderRadius: '4px'
  }"
  publicKey="pfk_test_xxx"
  :amount="5000"
  currency="GHS"
>
  <button>Pay Now</button>
</ReevitCheckout>

Advanced Usage: useReevit Composable

For full control over the payment flow, use the useReevit composable.

<script setup lang="ts">
import { useReevit } from '@reevit/vue';

const { 
  status, 
  initialize, 
  selectMethod, 
  isLoading 
} = useReevit({
  config: {
    publicKey: 'pfk_test_xxx',
    amount: 5000,
    currency: 'GHS',
  },
  onSuccess: (res) => console.log('Payment done!', res),
});
</script>

<template>
  <button @click="initialize">Start Payment</button>
  <div v-if="status === 'ready'">
    <button @click="selectMethod('card')">Card</button>
    <button @click="selectMethod('mobile_money')">Mobile Money</button>
  </div>
</template>

Props Reference

Prop Type Description
publicKey string Your project's public key (required for API-created intents; optional when using sessionSecret or paymentLinkCode)
sessionSecret string Secret of a server-created checkout session. Preferred for production; supplies the amount and currency
amount number Amount in the smallest unit (e.g., 500 for 5.00). Required unless sessionSecret, paymentLinkCode or initialPaymentIntent is given
currency string 3-letter ISO currency code (GHS, NGN, USD, etc.). Required unless sessionSecret, paymentLinkCode or initialPaymentIntent is given
idempotencyKey string Order-scoped key that makes intent creation safe to retry
email string Customer's email address
phone string Customer's phone number (recommended for Mobile Money)
customerName string Customer name (used in payment links and some PSPs)
reference string Your own unique transaction reference
metadata object Key-value pairs to store with the transaction
customFields object Custom fields for payment links
paymentLinkCode string Hosted payment link code (uses the public link checkout flow)
paymentMethods PaymentMethod[] Enabled methods: card, mobile_money, bank_transfer, apple_pay, google_pay (PSP/country dependent)
initialPaymentIntent PaymentIntent Use an existing intent instead of creating a new one
isOpen boolean Controlled open state
theme ReevitTheme Customization options for the widget
apiBaseUrl string Override API base URL (self-hosted/testing)
successDelayMs number Delay before calling @success and closing (default 5000)
returnUrl string Flutterwave only. Where Flutterwave sends the payer when its window is done. When set, Flutterwave navigates there instead of calling @success; confirm the payment on that page

Theme Reference

Field Description
primaryColor Primary text/brand color
primaryForegroundColor Text color on primary brand surfaces
backgroundColor Background color for the modal
borderColor Border and divider color
borderRadius Border radius for inputs and buttons
darkMode Force dark mode when true
logoUrl Logo URL shown in the header
companyName Brand name shown in the header
selectedBackgroundColor Background color for selected provider/methods
selectedTextColor Primary text color for selected items
selectedDescriptionColor Description/muted text color for selected items
selectedBorderColor Border color for selected items
pspSelectorBgColor PSP selector background color (where supported)
pspSelectorTextColor PSP selector text color (where supported)
pspSelectorBorderColor PSP selector border color (where supported)
pspSelectorUseBorder Use border-only PSP selector styling

Events

Event Payload Description
@success PaymentResult Called on successful payment
@error PaymentError Called on error
@close void Called when widget is closed

PSP Bridge Functions

For advanced use cases, you can use PSP bridge functions directly to open payment modals.

Stripe
import { createStripeInstance, confirmStripePayment } from '@reevit/vue';

// Create Stripe instance
const stripe = await createStripeInstance('pk_test_xxx');
const elements = stripe.elements({ clientSecret: 'pi_xxx_secret_xxx' });
const paymentElement = elements.create('payment');
paymentElement.mount('#payment-element');

// Later, confirm the payment
await confirmStripePayment({
  publishableKey: 'pk_test_xxx',
  clientSecret: 'pi_xxx_secret_xxx',
  elements,
  onSuccess: (result) => console.log('Paid:', result.paymentIntentId),
  onError: (err) => console.error(err.message),
});
Monnify (Nigeria)
import { openMonnifyModal } from '@reevit/vue';

await openMonnifyModal({
  apiKey: 'MK_TEST_xxx',
  contractCode: '1234567890',
  amount: 5000,
  currency: 'NGN',
  reference: 'TXN_12345',
  customerName: 'John Doe',
  customerEmail: 'john@example.com',
  onSuccess: (result) => console.log('Paid:', result.transactionReference),
  onClose: () => console.log('Closed'),
});
M-Pesa (Kenya/Tanzania)

M-Pesa uses STK Push: the customer approves a prompt on their phone. ReevitCheckout asks for the number, creates the payment with it (that is what sends the prompt), then waits. It checks the payment every 4 seconds and finishes only when the payment has succeeded or has failed, or after 2 minutes with no approval.

If you build your own screen, render MPesaBridge for a payment that already exists. It does not send the prompt, it only waits for the result.

<MPesaBridge
  :payment-id="intent.id"
  :client-secret="intent.clientSecret"
  phone-number="254712345678"
  can-retry
  @success="(result) => console.log('Paid', result.pspReference)"
  @error="(err) => console.error(err.code, err.message)"
  @retry="createAnotherPayment"
/>
Provider says paid, backend still pending

Popup providers can report success before Reevit's own confirmation lands. The checkout then shows "Confirming your payment" (no Try again, closing is allowed and does not cancel the payment) and keeps checking for up to 2 minutes. success is emitted only on succeeded. If it is still pending after 2 minutes the checkout shows "We're still confirming this payment" with Done, emits neither success nor error, and stateChange reports confirming then pending.

Supported PSPs

Provider Countries Payment Methods
Paystack NG, GH, ZA, KE Card, Mobile Money, Bank Transfer
Flutterwave NG, GH, KE, ZA + Card, Mobile Money, Bank Transfer
Hubtel GH Mobile Money
Stripe Global (50+) Card, Apple Pay, Google Pay
Monnify NG Card, Bank Transfer, USSD
M-Pesa KE, TZ Mobile Money (STK Push)

Release Notes

v0.9.0
  • Updated @reevit/core dependency to v0.9.0
  • Version alignment across all Reevit SDKs

License

MIT © Reevit

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @reevit/vue

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229