Skip to content

bankzst/omise-angular

Repository files navigation

Omise Angular

Getting Started

  1. Add <script src="https://cdn.omise.co/omise.js"></script> to src/index.html
  2. Declare OmiseCard const as any under component import using declare const OmiseCard: any;
  3. Configure your omise public key in component file ngOnInit() using OmiseCard.configure
  4. Configure your submit button element id, amount, currency, and others properties in component file using OmiseCard.configureButton.
  5. Add OmiseCard.attach(); to apply configuration
  6. Please refer to https://www.omise.co/omise-js for more information

This project was generated with Angular CLI version 11.2.11.

Development server

Run ng serve for a dev server. Navigate to https://localhost:4200/. The app will automatically reload if you change any of the source files.

About

Template for Omise.js with Angular

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published