LP1774892 stripe elements
authorJason Etheridge <jason@EquinoxInitiative.org>
Fri, 12 Jun 2020 13:57:03 +0000 (09:57 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 28 Apr 2021 12:34:31 +0000 (08:34 -0400)
commit194916c138c4c68b41157d58f3e1fa0be686e444
tree889a10436771f5e7bead2430c98a34118a219b19
parentfd2a26e4cfc35a60ca4ea11fb08f1ab8f1d02d5d
LP1774892 stripe elements

This commmit changes the OPAC to use https://js.stripe.com/v3/ instead of
https://js.stripe.com/v2/ for processing payments through Stripe.

Additionally, it disables the "internal" credit card form in the staff client
when Stripe is the payment processor (or if the processor is not set at all),
as that does not currently work.

It also does not replace Business::Stripe's use of the "Charges API" with the
newer "Payment Intents" API on the backend, but credit card details are still
not sent to the Evergreen server.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/myopac/main_payment_form.tt2
Open-ILS/src/templates/opac/parts/stripe.tt2
Open-ILS/src/templates/staff/circ/patron/t_cc_payment_dialog.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/bills.js