LearningBuilder can collect payments from end-users in many different ways. Adding integrations for gateways not listed here is generally possible with minor innovation.
See also: Payment and E-Commerce Features
Overview
LearningBuilder itself does not handle credit card transactions. Instead, it integrates with a variety of payment processing systems to handle those transactions.
In order to process payments, clients must have an existing merchant account with a supported gateway. If no existing merchant account exists we can assist with the setup, but the merchant account itself is a relationship between the client and their financial institution.
For more information on establishing a merchant gateway, see below.
Supported Gateways
Payflow Pro | PayPal offers multiple payment products, but the only one that is both PCI compliant and fully supported by LearningBuilder is Payflow Pro. For more information on the other PayPal offerings, see PayPal Payment Gateways This service uses PayPal as the Payment Gateway but uses a third party payment processor. This interface is the result of PayPal's purchase of Verisign, which first developed the Payflow Pro product. PayPal now uses it for advanced interfaces that use other payment processors. Payments and refunds are both functional, and are supported in both the Secure Post and Hosted Pages iFrame Checkout configurations. Required Configuration: LearningBuilder requires that the client’s PayPal account be configured for Hosted Pages with the “Silent Post” feature enabled. See /wiki/spaces/DOCS/pages/2598207574 for details. As of February 2021, using this gateway in “Secure Post” mode is disallowed by policy because it is not PCI-compliant. The “Secure Post” mode will be removed in an upcoming release. Versions of LearningBuilder prior to 11.0.1 are at risk of allowing duplicate payments or improper error handling. Please be sure you are using an up-to-date version of the software. |
Authorize.Net | Authorize.Net is an alternative gateway to PayPal. LearningBuilder supports the PCI-compliant Three-Step Handshake checkout mode. Refund processing is not supported in LearningBuilder. As of February 2021, using this gateway in “Secure Post” mode is disallowed by policy because it is not PCI-compliant. The “Secure Post” mode will be removed in an upcoming release. Versions of LearningBuilder prior to 11.0.3 are at risk of allowing duplicate payments or improper error handling. Please be sure you are using an up-to-date version of the software. |
Moolah | Moolah is an alternative gateway which is focused on Non-Profit organizations. The support of this gateway was introduced in LearningBuilder 8.10 and is only functional in the Three-Step Handshake Checkout Mode. Versions of LearningBuilder prior to 11.0.4 are at risk of allowing duplicate payments or improper error handling. Please be sure you are using an up-to-date version of the software. |
USAePay | USAePay provides a number of payment solutions. Currently, LearningBuilder supports the "Two-Step Client-Side" mode only for this gateway. Versions of LearningBuilder prior to 11.0.4 are at risk of allowing duplicate payments or improper error handling. Please be sure you are using an up-to-date version of the software. |
Alabama Interactive | Alabama Interactive is a payment gateway used by licensing agencies in Alabama. It offers both a “Hosted Pages” and “Hosted Pages iFrame” option, but LearningBuilder only supports the “Hosted Pages” mode at this time. Required Configuration: The client’s gateway account must be configured to use the “Postback Service” feature to prevent unrecorded payments in LearningBuilder. For more information, see the configuration page. Unlike Payflow Pro, Alabama Interactive does not have a way to guarantee against unrecorded payments. If an error occurs while notifying LearningBuilder of a successful transaction, they will retry a set number of times and then send an email. We recommend using one of the other gateways instead that offer more robust protections against unrecorded payments in LearningBuilder. Please use LearningBuilder version 11.0.1 and greater in the 11.0.x LTS Release Branch series. Previous versions of LearningBuilder are at risk of allowing duplicate payments or improper error handling. |
Gateway / feature support matrix
Legend:
- Gateway does not support the feature
- Gateway supports the feature, but the LearningBuilder integration does not
Vendor / Gateway | App Config value for | Checkout Modes | Supported Features | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Full | Partial | GL | Discount | Responsible Party ‘Pending’ Payments (aka Bulk Employer Payments) | Organization ‘Bulk’ Payments | (Legacy) Learning Plan Task Payments | ||||
Payflow Payments Pro | PayPal | Secure Post | ||||||||
Payflow Pro | PayflowPro | Secure Post Hosted Pages IFrame | (Added with 10.0 Release) | ( Secure Post Only) | ||||||
Moolah | Moolah | 3 Step Handshake | ||||||||
Authorize.Net | AuthNet | Secure Post 3 Step Handshake | ( 3-Step Handshake) | |||||||
USAePay | USAePay | 2 Step Client-Side | ||||||||
Alabama Interactive | AlabamaInteractive | Hosted Pages |
Checkout Modes
Many payment gateways support multiple “checkout modes”, each offering a different user experience or feature set.
LearningBuilder integrations only support the PCI compliant modes.
The PaymentGateway
and CheckoutMode
App Config settings must be set to a supported combination.
For more information about PCI Compliance for each gateway, see the Compliance docs
Method | App Config value for
| Description / PCI Compliance |
---|---|---|
Secure Post |
| Payment forms are hosted by LearningBuilder. Payment card data is transmitted to LearningBuilder, which then submits the payment transaction to the gateway. This mode is not PCI compliant and is disallowed by policy in 10.6.0 and later. It will be removed from the software in a future version. |
Hosted Pages |
| When the user begins checkout, their browser is redirected to the payment gateway’s website. The credit card form is hosted by the gateway and the entire transaction occurs externally to LearningBuilder. The user is redirected back to LearningBuilder after the transaction is complete. This approach is secure because LearningBuilder is entirely removed from the checkout process and has no opportunity to collect or transmit payment card data. The main drawback to this approach is that the payment gateway’s checkout form often does not look exactly like LearningBuilder, resulting in a disjointed user experience. On the other hand, innovations made by the gateway to their checkout experience (such as adding support for new payment types) can be immediately available to end users without requiring changes to LearningBuilder. |
Hosted Pages |
| This is similar to Hosted Pages, except that instead of redirecting the user to a 3rd-party checkout process, the 3rd-party checkout form is displayed in an iframe within LearningBuilder. This often results in a more seamless user experience because the user never leaves the context of the LearningBuilder site. This approach is secure because the credit card form is hosted by and submitted to the payment gateway. LearningBuilder is not involved in the collection or processing of credit card data in any way. |
2 Step Client-Side |
| In this mode, the checkout process is implemented within LearningBuilder except for the credit card processing. When the user submits the form containing credit card data, the form submits directly to the payment gateway which handles the transaction and then redirects the user back into LearningBuilder. This mode provides a mostly seamless checkout experience, except that LearningBuilder cannot display a “checkout confirmation” page after the credit card data is entered but before processing the transaction. The card data is submitted directly to the gateway, so the confirmation page, if any, must be handled by the gateway as well. This approach is secure because the credit card form, though hosted by LearningBuilder, is submitted directly to the gateway for processing. Credit card data is not submitted to or transferred by LearningBuilder in any way. See the USAePay documentation for more information |
3-Step Handshake |
| After the user enters their credit card information, LearningBuilder submits that data directly to the payment gateway as a background post. The user’s browser does not navigate away from LearningBuilder. The gateway securely stores the credit card data, without processing a transaction, and returns a token that can be used to reference those saved credentials at a later time. The user then finishes the checkout process in LearningBuilder, which includes a “checkout confirmation” page. Once the user confirms their intent, LearningBuilder makes a second background post to the gateway. This post includes the transaction details (amount, etc) plus the token that was received earlier. The payment gateway then uses the stored card data to complete a transaction. This approach provides a seamless user experience without sacrificing security. It is the recommended approach for many customers. This approach is secure because no credit card data is submitted to or processed by LearningBuilder in any way. The credit card data is submitted directly to the gateway, which then gives LearningBuilder a secure, one-time-use token for referring to those credentials at a later time. This token cannot be used to “reverse engineer” or compromise the card details. For more information on this methodology, see this link |
PCI Compliance
As of 10.6, LearningBuilder does not support any payment gateways or checkout modes in which payment card data is transmitted to or processed by LearningBuilder. In order to maintain PCI compliance, LearningBuilder cannot have anything to do with credit card details.
Each of the supported gateways conforms to this requirement in a different way, which is documented above.
Additionally, the following implementation details are necessary for PCI Compliance:
The
EnableCreditCardValidation
App Config setting is deprecated and has no impact on a PCI-compliant payment gateway. The credit card data is transmitted directly to the payment gateway and is not examined by LearningBuilder in any way.When using the BACK button to navigate backward from the Review page to the Checkout page, the credit card information is not persisted and must be re-entered.
The high-level testing of the Payment Gateway setup process is as follows:
On a LearningBuilder™ support site, set up the Payment Gateway in a test mode.
Attempt an invalid payment (using an expiration date in the past)
Attempt a valid `payment (using the special credit card number)
On the LearningBuilder™ support site, set up the Payment Gateway in a live mode.
Attempt an invalid payment (using an expiration date in the past)
Attempt a valid payment (using a real credit card and a small payment amount; e.g. $0.02)
On the LearningBuilder™ live site, set up the Payment Gateway to match the support site.
Attempt an invalid payment (using an expiration date in the past)
On the LearningBuilder™ support site, set the Payment Gateway back into a test mode.
The Fake gateways support three simulated responses:
FirstName = "MissingId": This will result in an Approval but no Transaction ID
FirstName = "Decline": This will result in a Declined status.
FirstName = Anything else: This will result in an approval.
Testing a payment gateway integration
Testing payment gateway settings
If you append "Fake" to the end of the PaymentGateway app config value, the system will simulate connecting to the gateway without actually doing so. This is useful when testing in a non-production environment.
Known Issues / Observations
This document outlines known issues, outstanding items, or extra notes as they relate to most or ALL payment gateways. For gateway-specific documentation, refer to Payment Gateway-specific documentation.
In LearningBuilder versions 11.0.1, 11.0.2, and 11.1.0, a user is able to create duplicate transactions in AuthNet, USAePay, and Moolah. This issue has been resolved in 11.0.3. See - LB-2716Getting issue details... STATUS
If a Payment Attribute is added to a role grant workflow with a success action that grants the role, successfully completing the payment does not redirect the Practitioner to an auto-started Learning Plan Instance (LPI). This is counter to the expected case, where normally granting oneself a role will redirect the Practitioner to the LPI associated with that role if the Learning Plan Definition is set to “automatically begin when eligible.” See - LB-2653Getting issue details... STATUS
There is a small window of time within the ThreeStep Checkout Mode where a duplicate payment is possible. Refer to https://heuristicsolutions.atlassian.net/wiki/spaces/DOCS/pages/3099492370/Moolah+-+Known+Issues+Observations#Duplicate-Payment-Race-Condition and https://heuristicsolutions.atlassian.net/wiki/spaces/DOCS/pages/3099656228/Authorize.Net+-+Known+Issues+Observations#Duplicate-Payment-Race-Condition for more information. This window also exists in the PayflowPro/SecurePost configuration. Refer to https://heuristicsolutions.atlassian.net/wiki/spaces/DOCS/pages/3101524085/Payflow+Pro+-+Known+Issues+Observations#Duplicate-Payment-Race-Condition for more information.
If a site app pool is recycled before payment is fully confirmed, the payment will redirect to a post-processing error page and a web error email (“The same key was already used for another template!”) will send. This occurs within the ThreeStep Checkout Mode and with the PayflowPro/SecurePost configuration.