Title: Double Optin
Last modified: February 21, 2018

---

# Double Optin

 *  Resolved [eddy123](https://wordpress.org/support/users/eddy123/)
 * (@eddy123)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/double-optin/)
 * Hi Igor,
 * How do I make the integration to be double optin? I’m currently using mailchimp
   as the main integration.
 * Tried to set the double optin from within my mailchimp account but when it subscribed
   using the api, it directly being put as subscribed.
 * Do let me know which file to edit and which part.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/double-optin/#post-9998541)
 * Hi [@eddy123](https://wordpress.org/support/users/eddy123/),
 * when subscribing members through the API, the settings for double-optin are not
   respected.
 * I’ll look into adding that as an option in the next update.
 * For now you can go to `includes/premium/integrations/class-ga-mailchimp.php` 
   and on the `line 302` inside the method `subscribe` change the `status` from `'
   subscribed'` to `'pending'`.
 *  Thread Starter [eddy123](https://wordpress.org/support/users/eddy123/)
 * (@eddy123)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/double-optin/#post-9998560)
 * Hi Igor,
 * Thanks for the reply.
 * How about on line add_action( ‘giveasap_register_user’, array( $this, ‘subscribe’),
   20, 5 );
 * Do I need to change this to pending as well?
 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/double-optin/#post-9998565)
 * Hi [@eddy123](https://wordpress.org/support/users/eddy123/),
 * no, you don’t. This is just calling the method `subscribe` 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Double Optin’ is closed to new replies.

 * ![](https://ps.w.org/giveasap/assets/icon.svg?rev=1967616)
 * [Simple Giveaways - Grow your business, email lists and traffic with contests](https://wordpress.org/plugins/giveasap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/giveasap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/giveasap/)
 * [Active Topics](https://wordpress.org/support/plugin/giveasap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/giveasap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/giveasap/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/double-optin/#post-9998565)
 * Status: resolved