@ambassadorai/payment-webview

A package that can be included in the chat webview component, or the Messenger webview host. You should pass one of either `token` or `signedRequest` depending on the environment.

Stats

StarsIssuesVersionUpdatedCreatedSize
@ambassadorai/payment-webview
1.1.93 years ago3 years agoMinified + gzip package size for @ambassadorai/payment-webview in KB

Readme

Payment webview

A package that can be included in the chat webview component, or the Messenger webview host. You should pass one of either token or signedRequest depending on the environment.

Environment variables

  • API_URL - URL to the /webview/payment API on the dashboard.
  • CHAT_TOKEN - JWT token provided by the chat app.
  • WEBVIEW_APP_ID - (Optional) ID for a specific webview app to get options from.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.