Seanhoots
  • Welcome
  • INTRODUCTION
  • PLUGINS
  • Air Payment Request Button
    • Demo and Editor
    • How to use
    • Property Editor
    • Events
    • Actions
    • Workflow
    • Supported Payments
    • Apple Pay
  • Air Calendar
    • Demo and Editor
    • How to use
    • Navigation
    • Calendar views
    • Exclusive End date - AllDay events
    • Current event
    • Event dragging and resizing
    • Event selecting
    • Event clicking and hovering
    • Internationalization (timezone and locale)
Powered by GitBook
On this page
  • charge payment
  • complete payment
  1. Air Payment Request Button

Actions

The following are the actions provided by this plugin

PreviousEventsNextWorkflow

Last updated 6 years ago

charge payment

Call this action to charge a card using the token generated from the Payment request button.

Note that the Amount should be the subunit of the currency. Example for a usd currency the amount is in cents. So for a $20 charge, it should be 2000 (i.e. 20 x 100). If your input value is not in cent use the multiplication function ( * ) to multiply it by 100 as shown in the image above.

complete payment

This action MUST always be called after the payment charge when you use this plugin. Without calling this action the payment dialog will not close.

You can choose a status (success, fail) for this action. Select the success when the payment charge was successful.

Select the fail if the payment charge failed. This will show a message to the user in the payment dialog that the payment wasn't successful so they could try again.

Charge payment action
complete payment action