ngx-ynkap
v0.0.1
Published
Intégrateur de paiement offrant Orange Money, MTN Mobile Money ainsi que Paypal optimisé pour Angular.
Downloads
6
Readme
NgxYNKAP
Intégrateur de paiement offrant Orange Money, MTN Mobile Money ainsi que Paypal optimisé pour Angular.
ng add @ngx-ynkap
Example use
import { NgxYNkapModule } from '@ngx-ynkap';
@NgModule({
imports: [
NgxYNkapModule,
...
]
})
export class AppModule { }import { inject } from '@angular/core';
import { Firestore, collectionData, collection } from '@angular/fire/firestore';
import { Observable } from 'rxjs';
@Component({
selector: 'app-root',
standalone: true,
template: `
<ngx-ynkap title="Frais de scolarité" raison="Frais de scolarité" [priceToPay]="1000" [otherInfos]="otherInfos" currency="XAF"></ngx-ynkap>
`
})
export class AppComponent {
otherInfos=[
[
{
label:"Eleve",
value:"Cédric Nguendap"
},
{
label:"Classe",
value:"6ieme"
}
],
[
{
label:"Frais de scolarité restant",
value:"10000"
}
]
]
}Options
| Options | Type | Default | Description |
| ------------------------ | ------------------------ | --------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| title | string | Web Paiement | Titre du modal |
| priceToPay | number | 0 | Montant du transfert |
| raison | string | null | Raison du transfert |
| otherInfos | [] | [] | Information supplémentaire a affiché sur le modal. |
| currency | string | XAF | Monaie utilisé: XAF, XOF, EUR, $. |
Des problèmes?
Laissez nous un mail au [email protected]
