Home Reference Source
import StripeCheckoutComponent from 'formiojs/src/contrib/stripe/checkout/StripeCheckout.js'
public class | source

StripeCheckoutComponent

Extends:

src/components/button/Button.js~ButtonComponent → StripeCheckoutComponent

Static Member Summary

Static Public Members
public static get

builderInfo: {"group": *, "schema": *}

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Keep initial component action

public
public

handler: *

public
public

Promise when Stripe is ready.

Method Summary

Public Methods
public

build()

public

getValue(): *

public

Handle customEvent event on the button

public

onToken(token: Object)

Handle event dispatched by Stripe library

public

setValue(value: *, flags: {}): *

Static Public Members

public static get builderInfo: {"group": *, "schema": *} source

Public Constructors

public constructor() source

Public Members

public componentAction: String source

Keep initial component action

public disabled: boolean source

public handler: * source

public loading: boolean source

public stripeCheckoutReady: Promise source

Promise when Stripe is ready.

Public Methods

public build() source

public getValue(): * source

Return:

*

public onClickButton(event: Object) source

Handle customEvent event on the button

Params:

NameTypeAttributeDescription
event Object

The event returned by ButtonComponent.

public onToken(token: Object) source

Handle event dispatched by Stripe library

Params:

NameTypeAttributeDescription
token Object

The token returned by Stripe.

public setValue(value: *, flags: {}): * source

Params:

NameTypeAttributeDescription
value *
flags {}
  • optional
  • default: {}

Return:

*