lp1894005 Stripe payment intents
authorJason Etheridge <jason@EquinoxInitiative.org>
Thu, 25 Mar 2021 20:21:00 +0000 (16:21 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Tue, 11 May 2021 18:43:25 +0000 (14:43 -0400)
commit5ef5b0ae0ce94400051f6f0d753f02855a916360
tree3d173e49ccf19177ce7b5c59493d9af3962729b7
parenta511478fd7ac15868ddc127e0ac4516c339b9817
lp1894005 Stripe payment intents

===== Credit card payments using Stripe now implimented with PaymentIntents instead of Charges =====

This changes the Stripe code in the OPAC to use their PaymentIntents and confirmCreditCard API,
which is recommended over their Charges API.  Credit card charges are no longer finalized
(captured/confirmed) on Evergreen's backend, though the backend does check whether a payment was
made successfully before recording it.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
15 files changed:
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-stripe-currency.sql [new file with mode: 0644]
Open-ILS/src/templates-bootstrap/opac/myopac/generic_payment_form.tt2
Open-ILS/src/templates-bootstrap/opac/myopac/main_payment_form.tt2
Open-ILS/src/templates-bootstrap/opac/myopac/payment_form_error.tt2 [new file with mode: 0644]
Open-ILS/src/templates-bootstrap/opac/myopac/stripe_payment_form.tt2
Open-ILS/src/templates-bootstrap/opac/parts/base.tt2
Open-ILS/src/templates-bootstrap/opac/parts/myopac/main_refund_policy.tt2
Open-ILS/src/templates/opac/myopac/main_payment_form.tt2
Open-ILS/src/templates/opac/myopac/payment_form_error.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/myopac/stripe_payment_form.tt2
Open-ILS/src/templates/opac/parts/base.tt2
Open-ILS/src/templates/opac/parts/myopac/main_refund_policy.tt2