From 4aa149d1779812161d57fa3915f55b1bc9d56484 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 25 Apr 2022 12:47:40 -0400 Subject: [PATCH] Correction - use patron id, not card id Signed-off-by: Terran McCanna --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm index bac6c21a49..787a5066c4 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -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 => 'User Database ID: ' . $self->ctx->{user}->card + description => 'User Database ID: ' . $self->ctx->{user}->id ); if ($stripe->success) { $self->ctx->{stripe_client_secret} = $stripe->success()->{client_secret}; -- 2.11.0