Correction - user id rather than card id
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 25 Apr 2022 16:43:11 +0000 (12:43 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 15 Aug 2022 18:27:18 +0000 (14:27 -0400)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm

index 1da555b..f4f89bb 100644 (file)
@@ -2331,7 +2331,7 @@ sub load_myopac_payment_form {
         my $intent = $stripe->api('post', 'payment_intents',
             amount                => $self->ctx->{fines}->{balance_owed} * 100,
             currency              => $currency || 'usd',
-            description           => 'PINES User Database ID: ' . $self->ctx->{user}->card
+            description           => 'PINES User Database ID: ' . $self->ctx->{user}->id
         );
         if ($stripe->success) {
             $self->ctx->{stripe_client_secret} = $stripe->success()->{client_secret};