keepsuit / laravel-zoho-campaigns

Manage Zoho Campaigns from Laravel
MIT License
1 stars 1 forks source link

When user was unsubscribed subscription is not working. #19

Closed andreibaca closed 3 months ago

andreibaca commented 4 months ago

If the contact in zoho campains is unsubscribed - subscription is not working. Upon investigation I found this support post https://help.zoho.com/portal/en/community/topic/resubscribe-via-custom-form where it is suggested that using donotmail_resub=true param would solve this issue. Since this is an undocumented param it could change in the future.

Is it possible to simply add an optional array of params that will be merged into the API params in listSubscribe method of ZohoCampainsApi. It will make it flexible enough for future changes.

andreibaca commented 4 months ago

I have created a fork and working on it. Will make a pull request if everything works fine since it is an undocumented feature.

andreibaca commented 4 months ago

I created a pull request. I tested and the code seems to work as expected.