Salesforce and recurring donation problem with custom fields #6583
-
Hi, I've been referred from Priority Support to write my problem here.
How could I process these custom data without altering the addon source code? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
Hey @diegoinidis, I'm not sure if this is a bug on the |
Beta Was this translation helpful? Give feedback.
-
@diegoinidis Thanks for reaching out. (thinking out load) If I remember correctly, some versions of Salesforce will automatically create "pledged" donations based on the parameters of the recurring donation record (end close date / installments). Looking back through our codebase - we are swapping the initial donation created with the pledged donation to prevent duplicate records. I think what you have discovered is the initial donation that holds the filter with custom fields is the one being swapped out for the auto-generated donation created by salesforce. This is obviously problematic when it comes to custom data. Ideally, the swapping of the initial donation & the pledged donation would happen in reverse order so the initial data is preserved. I would have to look back into the Salesforce api to see if that's possible. If not, then we will need to add another filter or two to compensate for the nuances of Salesforce recurring donations & auto-generated pledged donations. As a work-around, if you were able to setup your Salesforce account without auto-generated pledged donation within your recurring donations - this would not be a problem because the initial donation would never be deleted. |
Beta Was this translation helpful? Give feedback.
-
@jonwaldstein I am having a similar problem and turning off "auto-create" in Salesforce is causing other issues. Here is what is happening: I am passing custom metadata to the salesforce integration. It works wonderfully for individual donations, but there are issues with recurring donations. If "Installment Opportunity Auto-Creation" is turned OFF in SF, the recurring record is never created, but the custom metadata is passed as expected. If "Installment Opportunity Auto-Creation" is turned ON in SF, the recurring record is created, but the custom metadata is not passed. Is this a known issue and are you aware of any resolutions? |
Beta Was this translation helpful? Give feedback.
-
@jonwaldstein I have added a new filter to UpdateSalesforceOpportunityAsRecurringInstallmentAction.php on line 79. How could I officially contribute this to the plugin? |
Beta Was this translation helpful? Give feedback.
-
Hi Salesforce partner here. We have implemented Give-WP (Salesforce and Recurring Giving plugins) for a few orgs now. We are seeing an issue which is very closely related to this post. Happy to start another fresh post, let me know. Clients have reported this and we have replicated, in two different client environments:
One (DON1) is linked to the Recurring Donation (RD), the other (DON2) is not. We have tried changing the NPSP 'installment opp auto creation' setting This time:
From previous posts, does GiveWP look for existing Opps first, deletes it if found and creates it's own Opp? Based on the second test, something isn't quite right with the opp creation: Any insight into the main issue, or the second issue? Anyone else seeing this? Cheers |
Beta Was this translation helpful? Give feedback.
@diegoinidis Thanks for reaching out.
(thinking out load)
If I remember correctly, some versions of Salesforce will automatically create "pledged" donations based on the parameters of the recurring donation record (end close date / installments). Looking back through our codebase - we are swapping the initial donation created with the pledged donation to prevent duplicate records. I think what you have discovered is the initial donation that holds the filter with custom fields is the one being swapped out for the auto-generated donation created by salesforce. This is obviously problematic when it comes to custom data.
Ideally, the swapping of the initial donation & the pledged donation wo…