Configuring Invoice Details and Payment
Quick Start
The Invoice Details & Payment Widget is used in tandem with the Event Details Widget, allowing users to select, register, and pay in a seamless experience! See Quick Start to get them up and running.
If the shared script hasn't been added to your website, add it to the appropriate webpage, replacing "example-church.com" with the base URL of your church's website.
Add the Invoice Details & Payment Widget to your church website by placing this snippet of code in the body of your chosen webpage, modifying the required attributes.
Widget Configuration
Required Attributes
- Payment Processor (Vendor) URL: Defines the path for the payment vendor handoff. This is required for your widget to function correctly. This value is provided by your payment vendor.
- Attribute: paymentprocessortargeturl
- Valid Value: fully qualified URL
- Example:
paymentprocessortargeturl="https://sample.com/paymentform"
- Back to Event Target URL: This is the URL of the webpage that contains your Event Details widget.
- Attribute: backtoeventtargeturl
- Valid Value: relative or fully qualified URL
- Example:
backtoeventtargeturl="/event-details"
Optional Attributes
- Payment Processor Format: Optional attribute dictated by vendors. Indicates how the payload will be sent.
- Attribute: paymentprocessorformat
Note: Each payment vendor will have its own requirements for this attribute. See Platform Configuration for more information.
Configure Your Widget
Fill out the Widget Configurator below, copy your generated widget code, and paste it into your website.
Platform Configuration
How exactly does this happen? We're glad you asked, because it's pretty cool! An encrypted code, called a JWT (Json Web Token) is handed off to each payment vendor from the Invoice Details & Payment widget. This code contains information about the transaction, including the total due, and payer. The vendor processes the user's transaction and then hands an updated JWT back, where the user is redirected to the Invoice Detail widget. The JWT is created at the moment a User clicks Pay Now.
It's important to note that the Portal and Widgets handle payments differently. In the Portal, the payment information was collected, processed by your payment processor, and returned. This meant that the transaction happened on your server and PCI compliance was required. Any features added would be independent of your giving vendor.
In Widgets, the invoice is handed to your payment processor, processed by your payment processor, and returned. This means the transaction happens on your vendor's end (No PCI compliance required!) and the end user has the same experience as they do when they give online (for example, saved credit cards).
Verified Vendors
Product Options
Registration details are controlled by the Online Registration Product. A few things to note:
- Product Option Group Note Label: Displays before each option price.
- Product Option Prices Max Quantity: Max quantities for your Product Option Prices are dependent on two criteria:
- The Product Option Price is part of a non-canceled Invoice, AND
- The Product Option Price is associated with a "registered" Event Participant. If the invoice is not paid within an hour of creation, a process will cancel the invoice and Event Participant record. The canceled Event Participant record will not be counted toward the max quantity of the Product Option Price.
Configure the Payment Vendor
- Select your payment vendor from the Verified Vendor list. Click the vendor name for additional information.
- Contact your selected vendor:
- Request the Payment Processor (Vendor) URL for the required attribute.
- Request the key for signing the JWT.
- Configure the Payment Processor (Vendor) URL attribute using the fully qualified URL received from the payment vendor.
- Go to COMMON, JWTSigningKey. , and add the key under
Enjoy seamless event registration payment!
Customization
All Widgets are customizable, so change the button color and update the labels to match YOUR church!
CSS: Every Widget accepts the Custom CSS attribute. Include it before the opening Widget tag is closed to customize your Widgets.
Application Labels: Want to change the language on your registration checkouts to be more casual or formal? To make changes, go to and update the appropriate label(s). Note that you are responsible for all translations if the default is not used.
- mpp-checkout.paymentComplete: Text displayed after the user completes registration for their paid events. Default is "Your payment is complete. Thank you!"
- mpp-checkout.registrationReview: Text displayed asking the user to review their registration details. Default is "Review your Registration."