Every public export of @pesepay/angular, generated from its type declarations. @pesepay/angular on npm.
| Name | Description |
|---|
injectElements | The elements group the enclosing <pesepay-elements> created, as a signal. null while Pesepay loads and during server rendering. Read an element off it to pay with: elements()?.getElement("card"). Call it in an injection context, such as a constructor or a field initialiser. |
injectPesepay | The Pesepay instance the enclosing <pesepay-elements> was given, as a signal. null while it loads and during server rendering. Call it in an injection context, such as a constructor or a field initialiser. |
| Name | Description |
|---|
CardElement | Visa card fields in a Pesepay frame. Pay with confirmPayment() and elements()?.getElement("card"). |
CheckoutElement | The payment element with its own Pay button. It runs every step of the payment; listen for (finished). A new referenceNumber replaces the element. |
Elements | Creates one elements group for the element components inside it, and destroys it when it is destroyed. |
HostedCardElement | The card provider’s form for Mastercard and Zimswitch. One per page. |
MobileElement | EcoCash or O’mari phone number, and O’mari’s SMS code. |
PaymentElement | Every method the transaction can be paid with. A new referenceNumber replaces the element. |
PesepayElementDirective | What every element component shares: it creates its element in the enclosing group once Pesepay has loaded, mounts it into its own host element, re-emits its events, passes changed options to update(), and destroys it with the component. |
ScanElement | The InnBucks or PayGo code the customer scans. |