Class: Glib::JsonUi::ViewBuilder::Fields::StripeToken

Inherits:
AbstractField show all
Defined in:
app/helpers/glib/json_ui/view_builder/fields.rb

Overview

Stripe payment token field for secure card tokenization.

Generates Stripe tokens from credit card information without your server ever handling raw card details. Compliant with PCI DSS requirements.

Examples:

Stripe credit card token field

form.fields_stripeToken \
  name: 'user[stripe_token]',
  width: 'matchParent',
  publicKey: 'pk_test_TYooMQauvdEDq54NiTphI7jx'

See Also:

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Method Summary

Methods inherited from AbstractField

#autoValidate, #context, #created, #default_url_options, #determine_value, #disableDirtyCheck, #hint, #hint_args, #label, #label_args, #name, #placeholder, #placeholder_args, #prop, #validation, #value

Methods inherited from View

component_name

Methods inherited from JsonUiElement

action, any, array, badgeable, bool, color, component_name, date, date_time, enum, float, hash, icon, #initialize, int, length, menu, panels_builder, #props, required, singleton_array, string, text, url, views

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement