Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated README.md file #27

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ Install the SDK
```bash
$ npm install flutterwave-angular-v3
# or
$ yarn add flutterwave-angular-v3

$ yarn add flutterwave-angular-v3
```

## Initialization
Expand Down Expand Up @@ -93,11 +92,12 @@ Pass in payment parameters individually as component attributes.
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
InlinePaymentOptions,
MakePaymentComponent,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";
@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[public_key]="publicKey"
amount="10"
Expand Down Expand Up @@ -156,12 +156,14 @@ Pass in the payment parameters as an object to the component `data` attribute.
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
MakePaymentComponent,
InlinePaymentOptions,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";

@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[data]="paymentData"
></flutterwave-make-payment>`,
Expand Down Expand Up @@ -339,11 +341,12 @@ Pass the payment plan ID into your payload to make [recurring payments](https://
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
InlinePaymentOptions,
MakePaymentComponent,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";
@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[public_key]="publicKey"
amount="10"
Expand Down
17 changes: 9 additions & 8 deletions dist/flutterwave-angular-v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
</p>

# Flutterwave Angular Library

![Node.js Package](https://github.com/Flutterwave/Flutterwave-Angular-v3/workflows/Node.js%20Package/badge.svg)
![npm](https://img.shields.io/npm/v/flutterwave-angular-v3)
![npm](https://img.shields.io/npm/dt/flutterwave-angular-v3)
![NPM](https://img.shields.io/npm/l/flutterwave-angular-v3)
Expand All @@ -15,7 +13,7 @@ The Angular SDK helps you create seamless payment experiences in your Angular mo

Available features include:

- Collections: Card, Account, Mobile money, Bank Transfers, USSD, Barter, NQR.
- Collections: Card, Account, Mobile Money, Bank Transfers, USSD, Barter, NQR.
- Recurring payments: Tokenization and Subscriptions.
- Split payments

Expand All @@ -34,7 +32,7 @@ Available features include:

1. Flutterwave version 3 API keys
2. Node version >= 14.15.0 and npm >= 6.14.8
3. Angular version >= 18
3. Angular version >= 18.

## Installation

Expand All @@ -43,8 +41,7 @@ Install the SDK
```bash
$ npm install flutterwave-angular-v3
# or
$ yarn add flutterwave-angular-v3

$ yarn add flutterwave-angular-v3
```

## Initialization
Expand Down Expand Up @@ -95,11 +92,12 @@ Pass in payment parameters individually as component attributes.
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
InlinePaymentOptions,
MakePaymentComponent,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";
@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[public_key]="publicKey"
amount="10"
Expand Down Expand Up @@ -158,12 +156,14 @@ Pass in the payment parameters as an object to the component `data` attribute.
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
MakePaymentComponent,
InlinePaymentOptions,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";

@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[data]="paymentData"
></flutterwave-make-payment>`,
Expand Down Expand Up @@ -341,11 +341,12 @@ Pass the payment plan ID into your payload to make [recurring payments](https://
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
InlinePaymentOptions,
MakePaymentComponent,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";
@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[public_key]="publicKey"
amount="10"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions projects/flutterwave-angular-v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
</p>

# Flutterwave Angular Library

![Node.js Package](https://github.com/Flutterwave/Flutterwave-Angular-v3/workflows/Node.js%20Package/badge.svg)
![npm](https://img.shields.io/npm/v/flutterwave-angular-v3)
![npm](https://img.shields.io/npm/dt/flutterwave-angular-v3)
![NPM](https://img.shields.io/npm/l/flutterwave-angular-v3)
Expand All @@ -15,7 +13,7 @@ The Angular SDK helps you create seamless payment experiences in your Angular mo

Available features include:

- Collections: Card, Account, Mobile money, Bank Transfers, USSD, Barter, NQR.
- Collections: Card, Account, Mobile Money, Bank Transfers, USSD, Barter, NQR.
- Recurring payments: Tokenization and Subscriptions.
- Split payments

Expand All @@ -34,7 +32,7 @@ Available features include:

1. Flutterwave version 3 API keys
2. Node version >= 14.15.0 and npm >= 6.14.8
3. Angular version >= 18
3. Angular version >= 18.

## Installation

Expand All @@ -43,8 +41,7 @@ Install the SDK
```bash
$ npm install flutterwave-angular-v3
# or
$ yarn add flutterwave-angular-v3

$ yarn add flutterwave-angular-v3
```

## Initialization
Expand Down Expand Up @@ -95,11 +92,12 @@ Pass in payment parameters individually as component attributes.
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
InlinePaymentOptions,
MakePaymentComponent,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";
@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[public_key]="publicKey"
amount="10"
Expand Down Expand Up @@ -158,12 +156,14 @@ Pass in the payment parameters as an object to the component `data` attribute.
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
MakePaymentComponent,
InlinePaymentOptions,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";

@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[data]="paymentData"
></flutterwave-make-payment>`,
Expand Down Expand Up @@ -341,11 +341,12 @@ Pass the payment plan ID into your payload to make [recurring payments](https://
import { Component, OnInit } from "@angular/core";
import {
FlutterwaveService,
InlinePaymentOptions,
MakePaymentComponent,
PaymentSuccessResponse,
} from "flutterwave-angular-v3";
@Component({
selector: "app-root",
imports: [MakePaymentComponent],
template: ` <flutterwave-make-payment
[public_key]="publicKey"
amount="10"
Expand Down
Loading