Actions

The following are the actions provided by this plugin

charge payment

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

Charge payment action

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

complete payment action

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.

Last updated