lp1894005 Stripe payment intents
authorJason Etheridge <jason@EquinoxInitiative.org>
Thu, 25 Mar 2021 20:21:00 +0000 (16:21 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 11 Aug 2021 21:37:16 +0000 (17:37 -0400)
commite7418bd3e87db0f6409b42d1296ec009becd59a4
treec0b972d69b24e0c8704f414305ea0ec9318b0796
parentecfc8a7b4fc91064f334ce557f76385569927b67
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.

Sponsored-by: CW MARS
Sponsored-by: NOBLE
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.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