app/controllers/payments_controller.rb
# Raises an `ActiveRecord::RecordNotFound` error when there is no intent,
# and is captured, reported to Sentry and handled in the superclass.
#
Raises an `ActiveRecord::RecordNotFound` error when there is no intent,
and is captured, reported to Sentry and handled in the superclass.
Raises an ` ActiveRecord :: RecordNotFound ` error when there is no intent and is captured reported to Sentry and handled in the superclass .
def payment_intent
    @_payment_intent ||= PaymentIntent.find_by!(
      id: params.require(:id), nonce: params.require(:nonce), c100_application: current_c100_application
    )
  end
def payment_intent @_payment_intent ||= PaymentIntent . find_by! ( id : params . require ( :id ) , nonce : params . require ( :nonce ) , c100_application : current_c100_application ) end
Raises an `ActiveRecord::RecordNotFound` error when there is no intent,
and is captured, reported to Sentry and handled in the superclass.
Raises an ` ActiveRecord :: RecordNotFound ` error when there is no intent and is captured reported to Sentry and handled in the superclass .