From bc6541215f89effbd2e1ca5a2f322ed3d8e315d9 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 25 Jun 2025 15:07:16 -0400 Subject: [PATCH] Remove legacy card charge behaviour We used to have them add card in web then charge after, but these days we charge them in web for this first tx to get 3DS, so this code path is all but dead and we can remove it. --- lib/statsd.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/statsd.rb b/lib/statsd.rb index 5fd77c3fb0c6ef89a7b16bee8dbe7b89bf3fc142..f54a225500aeca335a2366e7309ad69948218d27 100644 --- a/lib/statsd.rb +++ b/lib/statsd.rb @@ -17,10 +17,6 @@ Registration::Payment::Bitcoin.statsd_count :write, "registration.payment.bitcoi Registration::Payment::CreditCard.extend StatsD::Instrument Registration::Payment::CreditCard.statsd_count :write, "registration.payment.credit_card" -Registration::Payment::CreditCard::Activate.extend StatsD::Instrument -Registration::Payment::CreditCard::Activate.statsd_count :write, "registration.payment.credit_card.activate" -Registration::Payment::CreditCard::Activate.statsd_count :declined, "registration.payment.credit_card.activate_declined" - Registration::Payment::InviteCode.extend StatsD::Instrument Registration::Payment::InviteCode.statsd_count :write, "registration.payment.invite_code"