From: Terran McCanna Date: Fri, 22 Apr 2022 20:47:12 +0000 (-0400) Subject: PINES Stripe Change - User ID X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=74ed73e28b567d0d365e346c1122d2a5eea8255e;p=evergreen%2Fpines.git PINES Stripe Change - User ID Adds the patron's database id to the info being passed to Stripe so that payments that Stripe collected that didn't get registered in Evergreen can be more easily tracked down. Signed-off-by: Terran McCanna --- 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 a41601318a..f261bdf988 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -2330,7 +2330,8 @@ sub load_myopac_payment_form { my $stripe = Business::Stripe->new(-api_key => $skey); my $intent = $stripe->api('post', 'payment_intents', amount => $self->ctx->{fines}->{balance_owed} * 100, - currency => $currency || 'usd' + currency => $currency || 'usd', + description => 'PINES User Database ID: ' . $self->ctx->{user}->card ); if ($stripe->success) { $self->ctx->{stripe_client_secret} = $stripe->success()->{client_secret};