LP1774892 stripe elements
authorJason Etheridge <jason@EquinoxInitiative.org>
Fri, 12 Jun 2020 13:57:03 +0000 (09:57 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Fri, 26 Jun 2020 14:50:19 +0000 (10:50 -0400)
commit734dd176ce8075fafa8c9227af99e34a3d2d790d
tree8b4538ce8a33ffca57ad222bd580bed4a86583a4
parent056306ff6d5a845a3b5b220dca0223bc1ce8378e
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>
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