app/services/c100_app/online_payments.rb
# Sent in metadata and used for HMCTS reconciliation.
Sent in metadata and used for HMCTS reconciliation.
Sent in metadata and used for HMCTS reconciliation .
def details_payload
      {
        amount: Rails.configuration.x.court_fee.amount_in_pence,
        description: Rails.configuration.x.court_fee.description,
        reference: c100_application.reference_code,
        email: c100_application.receipt_email,
        return_url: payment_intent.return_url,
        metadata: metadata
      }
    end
def details_payload { amount : Rails . configuration . x . court_fee . amount_in_pence , description : Rails . configuration . x . court_fee . description , reference : c100_application . reference_code , email : c100_application . receipt_email , return_url : payment_intent . return_url , metadata : metadata } end
Sent in metadata and used for HMCTS reconciliation.
Sent in metadata and used for HMCTS reconciliation .
# One-time return url # Needed for HMCTS reconciliation