# vue-culqi-checkout

> Vue Culqi Checkout 💳

Latest version **1.0.0** (published 2020-11-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-culqi-checkout
pnpm add vue-culqi-checkout
yarn add vue-culqi-checkout
bun add vue-culqi-checkout
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-11-26 |
| First published | 2020-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 23.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Emerson Beltrán |
| Maintainers | mrelemerson |
| Keywords | culqi, checkout, vue, javascript, typescript |

## Links

- npm: https://www.npmjs.com/package/vue-culqi-checkout
- Repository: https://github.com/culqi/vue-culqi-checkout
- Homepage: https://docs.culqi.com/
- Issues: https://github.com/culqi/vue-culqi-checkout/issues
- npm.io page: https://npm.io/package/vue-culqi-checkout

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-11-26

## README

<p align="center">
  <h1 align="center">Vue Culqi Checkout 💳</h1>
</p>

Welcome to the Vue Culqi Checkout!

## Install

```bash
yarn add vue-culqi-checkout
```

```bash
npm install vue-culqi-checkout
```

## Import

javascript
```js
import CulqiCheckout from "vue-culqi-checkout";

Vue.use(CulqiCheckout, {
  publicKey: "pk_test_27f4fbc0ddc64976",
  title: "Mi tiendita",
  currency: "PEN",
  description: "Mi super venta",
  amount: 500
});
```
typescript
```ts
import CulqiCheckout, { Options } from "vue-culqi-checkout";

Vue.use<Options>(CulqiCheckout, {
  publicKey: "pk_test_27f4fbc0ddc64976",
  title: "Mi tiendita",
  currency: "PEN",
  description: "Mi super venta",
  amount: 500
});
```

## Usage

```html
<template>
  <div id="app">
    <button @click="pay">Pagar</button>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";

@Component
export default class App extends Vue {
  async pay() {
    const token = await this.$culqi.openCheckout();
    console.log(token.id);
  }
}
</script>

```

### [Token object](https://apidocs.culqi.com/#/tokens)

---
_Source: https://npm.io/package/vue-culqi-checkout · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
