This feature is currently released in the beta mode, so we recommend testing it first in the sandbox org.
Payments2Us Integration with Salesforce Gift Entry
Collect payments at the moment of gift entry. Payments2Us integrates with Salesforce Gift Entry through a Post Processing Lightning Component, allowing you to process credit card, cash, cheque, and other payment methods without leaving the gift entry workflow.
Overview
When gifts are processed in the Gift Entry grid, Salesforce can open a Post Processing step. With Payments2Us configured, this step allows you to:
- Create a Payments2Us Payment Transaction.
- Select the Merchant Facility and Payment Form.
-
Process the payment using one of the following actions:
- Charge Card: For credit card payments.
- Complete Payment: For non-card payments such as Cash, Cheque, and other manual payment methods.
After a successful payment, Payments2Us updates the related Gift Transaction (for example, changing its status to Paid) and records gateway and payment details where available.
For gifts with multiple designations, the designation splits are mapped to Payments2Us Payment Items, including the amount, split percentage, and designation name.
Prerequisites
Before using Payments2Us with Gift Entry, ensure the following requirements are met:
- Payments2Us Installed: Payments2Us must be installed and licensed in your Salesforce organisation.
- Active Merchant Facility: At least one Merchant Facility must be configured as Active.
- Payment Form: The Merchant Facility must have an associated Payment Form.
- Account Matching Method: The Merchant Facility's Account Matching Method must be set to Nonprofit Cloud. This is required for the NPC integration.
- Gift Entry Access: Gift Entry and the Salesforce Fundraising functionality must be available in your organisation.
- User Permissions: Users must have the necessary permissions set assigned in order to create and update Payment txns and related Payments2Us objects.
- Gift Designation Mapping: To ensure designation names map correctly, the Gift Designation names used in Gift Entry should also exist in the Payments2Us Gift Designation picklists on the Payment txn and Payment item objects.
Setup: Add Payments2Us to Gift Entry Post Processing
To enable Payments2Us during Gift Entry processing, add the Payments2Us Gift Entry payment component to the Post Processing configuration.
- Go to Setup → Fundraising → Search for Gift Entry → Enable it → Click on “New Template”

- Select the standard salesforce template for cloning. Click Next.

- You can selected the display columns of your choice. Click on “Add Step” under the "Gift Entry Post Processing" section.
\ - Select “P2Us Gift Entry Payment” from the drop down and click Save.

- Click on Save from the right corner.
- Click on the Actions dropdown infront of your cloned template and select “Set as Single Gift Entry Default”

Open Gift Entry and process a test gift to confirm that the Payments2Us component appears during the Post Processing step.
Note: Merchant Facility and Payment Form selections are not configured through a separate Lightning App Builder property panel. They are selected or defaulted directly on the Payments2Us payment screen.
How to Process a Gift Payment
Step 1: Enter the Gift
Go to the Gift Entry Tab and click “New Gift Entry” or go directly to the “Gift Entry Grid”. In the Gift Entry grid, enter the required gift information:
- Donor details.
- Gift amount.
- Designation(s).
-
Payment Method (for example, Credit Card, Cash, or Cheque).

For gifts with multiple designations, enter the designation splits as required.

Step 2: Process the Gift
Click Process Gift to allow Salesforce to create the Gift Transaction and its associated designation records.
Once the gift has been processed, Salesforce opens the Post Processing step, where the Payments2Us payment component is displayed.
Step 3: Payments2Us Payment Screen

The Payments2Us payment screen displays the following information:
| Section | Description |
|---|---|
| Merchant Facility | Defaults to the Primary Active Merchant Facility. You can select another facility if required before preparing the payment. |
| Payment Form | Defaults to the primary Payment Form associated with the selected Merchant Facility. |
| Summary | Displays donor details, gift amount, payment method, recurring schedule (if applicable), and Payment txn Name. |
| Actions | Displays Charge Card for card payments or Complete Payment for cash, cheque, and other supported non-card methods. |
Payment preparation runs automatically when a valid Merchant Facility and Payment Form are available.
Once the Payment txn has been created, the Merchant Facility and Payment Form selectors are locked for that payment.
Step 4: Process the Payment
A. Credit Card Payments
For credit card payments:
-
Enter the card details:
- Card Number.
- Expiry Date.
- CVV (if required).
- Click Charge Card.

- Payments2Us submits the payment to the selected payment gateway.
- Once the payment is successful, the related Gift Transaction is updated.
- A completion message is displayed.

B. Cash and Other Non-Card Payments
For non-card payment methods:
- Confirm the selected Merchant Facility and Payment Form.
- Click Complete Payment.
- Payments2Us marks the Payment txn as complete.
-
The related Gift Transaction is synchronised and updated accordingly.

For Cash and similar manual payment methods, the Payment txn will typically use the Manual record type.
What Records Are Created?
The Gift Entry integration creates and updates the following Salesforce and Payments2Us records:
| Record | Purpose |
|---|---|
| Payment Txn | The payment record associated with the gift. The Gift Transaction ID is stamped on the Payment txn, along with other relevant payment details and optional lookup fields where available. |
| Payment Items | One Payment Item is created for each designation split. These records capture the amount, split percentage, designation, and donor name/contact details where available. |
| Gift Transaction | The related Gift Transaction is updated based on the payment outcome. For example, its status may be updated to Paid. |
Recurring Gifts
For recurring gifts that include a Gift Commitment or payment schedule, Payments2Us also captures relevant recurring information on the Payment txn, where available.
This may include:
- Gift Commitment ID.
- Payment frequency.
- Payment day.
- Other related recurring payment details.
The salesforce standard gift entry module requires standard Gift Entry field New Recurring Gift (IsNewRecurringGift) to be set to true. But Salesforce doesn't seem to provide the ability to add this field in the Gift Entry grid. It is not available in the display columns. A work around for it is to create a new custom field on the Gift Entry object i.e. Is Recurring Gift? (Is_Recurring_Gift__c).
Now go back to your template clone in the setup steps. Open the cloned grid.
- Go to Display Columns section.
- Click on New Column button.
- Click on the pencil icon next to the newly added column entry.

- In the “Display” section:
- Select Field in the Column Type drop down.
- Select our new custom field in the Field API Name Drop Down.
- Add a label for the column.

- Switch to the Modal section:
- Select “Lightning Web Components” in the “Modal Type” dropdown.
- Select “$GiftEntryGrid.FieldsModal” in the "Lightning Web Component Name" dropdown.
- Set a label/header for the modal.
- Click on “Add Field” in the “Set Fields in Modal” section.

- A new popup modal will open up. One by one add the following 4 fields and mark them as required:
- New Recurring Gift
- Transaction Period
- Transaction Day
- Transaction Interval
- Effective Start Date

- Once all 5 fields are added, Save the template from the top right corner.