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

index f261bdf..fa36a42 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};