I'm attempting to create an Opportunity object via the php soap API. I can create a Single Donation just fine.
The problem stems from the Recurring Gift you must create to attach it to the Opportunity with a Record Type of Recurring. I can create the Recurring Gift fine, attach it to the Contact fine, but when attaching it to the Opportunity, I get the validation error,
The Pledge/Recurring Gift with ID: XXXXXXX does not have a Recurrence Schedule set. From the Pledge/Recurring Gift, click Save under the Recurring Information section.
The same thing happens when trying to create it manually within Salesforce. The field it's referring to is this one:
Until I literally click "Save Schedule", it can't be attached to the Opportunity. There has to be a workaround or a way I can do this programmatically?