Method: Spree::AppConfiguration#auto_capture

Defined in:
lib/spree/app_configuration.rb

#auto_captureBoolean

Note:

Setting this to true is not recommended. Performing an authorize and later capture has far superior error handing. VISA and MasterCard also require that shipments are sent within a certain time of the card being charged.

Returns Automatically capture the credit card (as opposed to just authorize and capture later) (default: false).

Returns:

  • (Boolean)

    Automatically capture the credit card (as opposed to just authorize and capture later) (default: false)



89
# File 'lib/spree/app_configuration.rb', line 89

preference :auto_capture, :boolean, default: false