Deploy to Production/Developer Edition Orgs :
Deploy to Sandboxes :
The components in this repository extend how refunds are handled in the Salesforce Nonprofit Cloud data model from the Stripe dashboard. Instead of simply updating the Status on the Gift Transaction to "Fully Refunded," refunds processed through the Stripe dashboard will create a Gift Refund record to be attached to the Gift Transaction, which will reflect the appropriate values in the standard CurrentAmount and RefundedAmount fields.
Note: This only handles full refunds.
The prerequisites to deploy this repository are:
- Fundraising enabled and configured in your Salesforce environment
- The FinDock for Fundraising package is installed
- The Stripe for FinDock package is installed
Custom Tab
- Guided Matching Setups
Custom Fields
- cpm__Inbound_Report__c.Gift_Transaction__c
- cpm__Inbound_Report__c.Gift_Refund__c
- cpm__Inbound_Report__c.Created_Date_Date_Only__c
-
Ensure your User has permissions to all objects referenced by the components in this repository. This includes FinDock permissions and Fundraising permissions.
-
Press the "Deploy to Salesforce" button at the top of this README and then press "Login to Salesforce" in the top right of your screen. Please note, the GitHub Salesforce Deploy Tool is provided open source by andyinthecloud. No FinDock support is provided.
-
Once installed, navigate to the "Guided Matching Setups" Tab where you will find a List View of all of the Guided Matching Rulesets (be careful not to select the "Guided Matching Setup" Tab which is the visual representation of the ruleset builder)
-
Find the record with the name "Inbound Report: PaymentHub-Stripe/charge.refunded" (see screenshare)
-
Copy the text from HERE and paste into the Rules field. Populate the Target field with "-".
-
Test by putting through a small payment and refunding through the Stripe dashboard.
When contributing to this repository, please first discuss the change you wish to make via an issue or any other method with FinDock before making a change.
FinDock Labs is a non-supported group in FinDock that releases applications. Despite the name, assistance for any of these applications is not provided by FinDock Support because they are not officially supported features. For a list of these apps, visit the FinDock Labs account on Github.
This project is licensed under the MIT License - see the LICENSE file for details