I have a cloudpages custom unsubscribe page. It has LogUnSubEvent (AMPScript) which on unsubscribe updates the Subscriber status to Unsubscribed and sets HasOptedOutOfEmail flag to true on Salesforce Contact record.
Now if on this custom Cloud page a person re-subscribes... How do I update Salesforce Contact record to set the HasOptedOutOfEmail flag to false. Salesforce support confirmed today that UpdateSingleSalesforceObject is not supported on CLoudPages due to TLS. So that is not an option (It throws 500 Internal Server error).
What are my other alternatives? Please help ASAP.