Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember & Clickbank – Limiting IPN to one CB product

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember & Clickbank – Limiting IPN to one CB product

Tagged: clickbank, easyclickmate, eMember

  • This topic has 5 replies, 2 voices, and was last updated 12 years, 5 months ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 2, 2012 at 6:44 pm #7534
    miles
    Member

    After searching the forums, it doesn’t appear that anyone else is trying this or having problems with this.

    I’m using the EasyClickMate tool with clickbank so I can sell multiple products through 1 cb account! One of those products is a monthly membership program… But all of the other products are one-off .mp3’s.

    What I want to happen is to have the membership setup process initiated when customers purchase clickbank item 33 only. If they purchase any other item, I don’t want the plugin involved. Currently the plugin is trying to set everyone up as a member no matter what item number they buy.

    Since I have two IPN’s in the Clickbank settings, I need to figure out a way to get the emember plugin to respond to sales from CB item #33 only and to ignore the rest of the sales.

    Can you help me figure out how to accomplish this?

    Thank you… Your plugins are amazing.

    October 3, 2012 at 7:11 am #49945
    admin
    Keymaster

    You should be able to do that. Do the following:

    1) Enable debug in eMember settings and save the settings

    2) Now do a test clickbank product purchase that is not a membership payment

    3) Share the content of the eMember_debug.log file (there is a link to this file in eMember debug settings area).

    December 4, 2012 at 3:15 am #49946
    miles
    Member

    Thanks for the reply… And, sorry for my delay. I followed the steps above and here is the results of the debug file:

    [12/04/2012 3:12 AM] – SUCCESS :Clickbank IPN received! Processing IPN …

    [12/04/2012 3:12 AM] – SUCCESS :

    Array

    (

    [cprodtitle] => Cleansing The Realm of The Subconscious Mind

    [ctranspaymentmethod] => TEST

    [cfuturepayments] =>

    [ccustzip] => 96148

    [ccustshippingzip] => 96148

    [ccustemail] => mytestemail@gmail.com

    [crebillfrequency] =>

    [crebillstatus] =>

    [ctransaffiliate] =>

    [cupsellreceipt] =>

    [corderamount] => 900

    [ccustcounty] => PLACER

    [ccurrency] => USD

    [ccustfirstname] => TESTING

    [crebillamnt] =>

    [ctransaction] => TEST_SALE

    [ccuststate] => CA

    [corderlanguage] => EN

    [caccountamount] => 732

    [ctid] =>

    [ccustshippingcountry] => US

    [cnextpaymentdate] =>

    [cverify] => 3064D123

    [cprocessedpayments] =>

    [cnoticeversion] => 4.0

    [cprodtype] => STANDARD

    [ccustcc] => US

    [ccustshippingstate] => CA

    [ctransreceipt] => 46CLFEKG

    [ccustfullname] => Testing Miles

    [cbf] =>

    [cbfid] =>

    [cshippingamount] => 0

    [ctransvendor] => askangels

    [cvendthru] => cbskin=3514&

    [ctransrole] => VENDOR

    [ctaxamount] => 0

    [cbfpath] =>

    [ccustaddr2] =>

    [ccustaddr1] =>

    [ccustcity] =>

    [ccustlastname] => MILES

    [ctranstime] => 1354590768

    [cproditem] => 4

    )

    [12/04/2012 3:12 AM] – SUCCESS :Validating IPN authenticity. Secret Key:JDHS7EHFJFUWE2

    [12/04/2012 3:12 AM] – SUCCESS :IPN validation return value: 1

    [12/04/2012 3:12 AM] – SUCCESS :

    Array

    (

    [txn_type] => TEST_SALE

    [payer_email] => mytestemail@gmail.com

    [first_name] => TESTING

    [last_name] => MILES

    [address_street] =>

    [address_city] =>

    [address_state] => CA

    [address_zip] => 96148

    [address_country] => US

    [txn_id] => 46CLFEKG

    [custom] => cbskin=3514&

    )

    [12/04/2012 3:12 AM] – SUCCESS :Payment received for membership level ID:

    [12/04/2012 3:12 AM] – SUCCESS :End of clickbank membership payment processing!


    December 4, 2012 at 5:19 am #49947
    admin
    Keymaster

    It’s missing the membership level ID that you are suppose to specify in the ClickBank button. Please refer to step 4 of the Clickbank setup documentation:

    http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-and-clickbank-integration-470

    That membership level ID value gets passed via the “custom” field. So check your setup of this other tool to make sure that value is included in the IPN.

    December 4, 2012 at 6:48 pm #49948
    miles
    Member

    First off, our order button is setup properly… Here’s the code:

    <form action=”http://33.ourid.pay.clickbank.net/&#8221; method=”post”><input type=”hidden” name=”membership_level_id” value=”2″ /> <input type=”image” src=”http://www.ourwebsite.com/wp-content/plugins/wp-eMember/images/join-now-button-image.gif&#8221; /></form>

    Secondly, I don’t get what you mean by “So check your setup of this other tool to make sure that value is included in the IPN.”

    How am I to include this value to the IPN?

    Thanks for helping me figure this out

    December 5, 2012 at 1:22 am #49949
    admin
    Keymaster

    In your first post you mentioned about using another tool so I told you to check and make sure the value of that hidden field is getting passed correctly. IPN is working fine but it is just missing the membership level ID value that is specified in the button.

    See the following line of code in the button? ClickBank passes that value in a field called “custom” in the IPN which is not happening due to this other 3rd party tool:

    <input type="hidden" name="membership_level_id" value="2" />

    We have no support for this other tool you are using. Our integration instruction is for directly integrating the plugin with ClickBank. This is why I tried to give you enough info so you can check that other tool to see where it is losing that custom field’s value in the IPN.

    Please let me know if I misunderstood your question with this other tool.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ