Clickbank Pitchplus script

by 20 replies
25
Hi,

In order to use clickbank pitchplus for recurring product, I have to use a code ( javascript ) provided by clickbank. The problem is that when I put this code(I use wordpress), the checkbox turns out to normal box text type.

Here is what clickbank said:
#programming #clickbank #pitchplus #script
  • Hi,

    What comes to mind immediately is that the comments are not correct in most cases. In HTML, commented sections require two dashes each and not one as in most of the places shown. See W3Schools for more information.

    The root of the problem may be a difference of character codes during the copy and past operation. Simple ASCII text has a single code for characters, while Unicode has double the number of codes per character.

    While this may be a case of manually adding returns while formatting the code for the post, this would be the first place I'd look.

    When attempting to debug things, try removing sections of code to troubleshoot where the problem is and is not. Kinda like playing 20 questions to uncover what works and where it breaks. It might be in HTML, the JavaScript, or even in the formatting for comments.

    One tool that I use to check and see if a page's code is valid is Amaya (GPL by World Wide Web Consortium (W3C)). It does a very robust parsing of the code and will reject files that have HTML that is "not well formed". That will tell if the code might break summarily upon loading. It will even reject <br> in favor of the more formal <br />.

    Of course, YMMV , but consider stripping down to the basic and building it back up until the error shows.

    Hope that helps,

    Brett
    • [1] reply
    • I think this happens if you past in two dashes in this forum (or maybe a text editor the OP uses), it converts it into one slightly longer dash, i.e. -- vs. -
      • [1] reply
  • Hi Franz, did you ever sort this Clickbank PitchPlus recurring billing script out? I am trying to do the same but not getting far. If you got the solution through hiring a coder, I'm happy to share your cost for the solution. Thanks.

    Vic
  • The script that you have shared doesn't look so promising. You can hire any professional to work on it.
  • i am having the same problem? would you recommend anyone?

    regards

    Lance
    • [1] reply
    • The sample code provided works - its a straightforward javascript - no rocket science here - why do people over complicate stuff

      I threw a sample up so you can see it in action. If the user clicks the buy now button on your upsell page without clicking the accept box, the javascript will throw the alert that they have to check the box i.e agree to the terms which authorizes the recurring - they click the accept box - then hit the buy button - its all done - sent to CB who handle the rest. If they click the no thanks link - the deny kicks in and shoots them back to the original item.

      Now, as to why its doing weird stuff in your wordpress page - am not sure but would need to see a link to help you any further.
      • [1] reply
  • Hi Lancelotw,

    Please refer to the code above - at the start of this conversation.

    Best Regards,
    Ryan
    • [2] replies
    • sorry i a total noobe with code....

      the only thing im stuggling get my head round is....do i leave the "Buy Now" button and the "No thanks" button alone and insert this code also?

      those two buttons have the two links...

      the Buy now button is linked to
      ”http://ITEM_BEING_UPSOLD.YOUR_NICKNA...nk.net?cbur=a”

      and the No Thanks button is linked to
      http://ITEM_BEING_UPSOLD.YOUR_NICKNA...clickbank.net? cbur=d

      am i right in thinking that i put the code in aswell as leaving those buttons as they are?

      regards

      Lance
      • [1] reply
    • Yep - use the code at the top - javascript in the head as they show.

      Then drop your form action in:

      <form action="#">
      <input type="checkbox" onChange="toggleAccept()" id="agreeCheckbox">
      <label for="agreeCheckbox">I agree to the following payment terms: blabla bla and what ever else you want to say etc - I understand that I can cancel at any time.</label>
      </form>

      Then add the links how they describe.

      Accept button code
      <a href="http://youroffer.pay.clickbank.net/?cbur=a" id="accept" onClick="mustAccept(); return false;">

      And your decline code:
      <a href="http://youroffer.pay.clickbank.net/?cbur=d">NO THANK YOU</a>

      Once they approve it - they will give you the ID number to add to your link and then it's live.
      • [ 1 ] Thanks
  • Thank you! You really saved me Mark Ford
  • Damn this post 2 months would have saved me pulling hair out. I am nearly bald. LOL

Next Topics on Trending Feed

  • 25

    Hi, In order to use clickbank pitchplus for recurring product, I have to use a code ( javascript ) provided by clickbank. The problem is that when I put this code(I use wordpress), the checkbox turns out to normal box text type.