[OPEN-ILS-GENERAL] Accepting credit card payments through the self-check interface?
Boyer, Jason A
JBoyer at library.IN.gov
Mon Dec 21 14:41:11 EST 2015
Terran: If the selfcheck uses a separate interface it will have to be customized to make use of Stripe payment processing. The main payment form has several customizations only enabled when using Stripe because of the way payments are accepted through that service. A "regular" payment form will pass all of the parameters to an Evergreen backend which doesn't know what to do at that point. The short version of the details: the CC number and associated info aren't passed to Evergreen, only a payment token, Eg then uses that token to bill the patron instead of the CC number directly. The logic to pass the number back and forth to Stripe and generate that token isn't present in the backend (and would defeat the purpose of using Stripe, in that the Evergreen server never sees the CC number.) For the (only slightly, now) longer answer see how Open-ILS/src/templates/opac/myopic/main_payment_form.tt2 changes when ctx.use_stripe is 1.
Jason
--
Jason Boyer
Indiana State Library
http://library.in.gov/
-----Original Message-----
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of McCanna, Terran
Sent: Monday, December 21, 2015 1:14 PM
To: Evergreen Discussion Group
Subject: [OPEN-ILS-GENERAL] Accepting credit card payments through the self-check interface?
**** This is an EXTERNAL email. Exercise caution. DO NOT open attachments or click links from unknown senders or unexpected email. **** ________________________________
Hello everyone,
Is anyone accepting credit card payments through Evergreen's built-in self-check interface?
I have a test account set up with Stripe on one of our servers that submits a test payment successfully when logged in through "My Account" but when I test the same one through the self-check, I get the following error:
Event: 4020:CREDIT_PROCESSOR_DECLINED_TRANSACTION -> The credit card processor has declined the transaction. undefined
I'm guessing it's not passing all the required parameters correctly, but I wanted to check with the group before I start digging too deeply. It's using a different form than the one My Account uses, too - any thoughts on whether or not it could use the same form?
Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmccanna at georgialibraries.org
More information about the Open-ils-general
mailing list