Support » Plugins » Integrate Paypal inside TDO

  • Hi all, I wonder how I can integrate the paypal form inside the TDO mini form plugin.

    I try to insert the form like this in “tdomf-form-post.php” but without any success…

    I start at the line 106 :

    } else {
              <h2>Payer votre annonce</h2>
    		  <form name="paypal_form" id="publish_form" action="" method="post" >
                        <input type="hidden" name="cmd" value="_xclick">
                        <input type="hidden" name="business" value="">
    					<input type="hidden" name="item_name" value="Annonce {$} sur 2803 job board">
    					<input type="hidden" name="currency_code" value="EUR">
    					<input type="hidden" name="amount" value="1">
    					<input type="hidden" name="no_shipping" value="1">
    					<input type="hidden" name="return" value="/">
    					<input type="image" src="" name="submit" alt="Effectuez vos paiements via PayPal : une solution rapide, gratuite et sécurisée">
          // If retVal is a string, something went wrong!
          } else {

    Thanks for your help!

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

    I know this is an oldish post and I’m a bit of a newbie but when I read this I noticed the /form> was on a separate line to the line above it. This means there’s a break where there shouldn’t be one and this can mess up the paypal code. If you move </form back to be at the end of the line above it this might solve your problem.

    Apparently Paypals code is notorious for this odd behaviour.

    BTW how do you use TDO miniforms to integrate paypal??? If this works I would be thrilled as I found your post because I’m looking for a simple way to insert paypal “Buy Now” links in posts for several products and nothing I’ve found so far works. Can you point me to somewhere that gives instructions on how to do this?

    Wow! I’m only seeing this topic now too. What are you guys trying to do? I’m not familiar with the paypal API.

    tdo – when you try to insert paypal code with a “buy now” or “donate” button into a page or post, the editor in WordPress doesn’t properly render the code. You end up with all sorts of errors from paypal instead of being sent to the payment page and people have reported some odd behaviour from the editor such as formatting placed using the html window disappearing after you save the page/post.

    It’s frustrating because Paypal provide a way to easily get the code to put in your website but it wont work in WordPress. I’ve used it successfully in the widgets section – by posting the code into a text widget – but have not been able to get it to work in the posts themselves, which is what a lot of people need.

    So some of us are looking for an answer (ie is there something we’re not doing right?) or an alternative.

    I think you need something that inserts php into posts without using the built in editor – so I’m not sure how TDO miniforms would achieve this. I already use your excellent plugin so I’m kinda familiar with how it works and was more than curious when I found this thread while desperately seeking a solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integrate Paypal inside TDO’ is closed to new replies.