CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PayPal 'buy now' button not via payment processor
Pages: [1]

Author Topic: PayPal 'buy now' button not via payment processor  (Read 775 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
PayPal 'buy now' button not via payment processor
September 09, 2011, 08:08:10 pm
Hi - a new client has a setup with a PayPal button (not sure the correct terminology) which just takes someone to a PayPal page with preset amount ie thi is not via an integrated Payment Processor.
So the plan is that on the Thank You page they get the PayPal button.
While this works fine on a Drupal node with Full HTML - the button doesn't fire on the Thank You page as the 'form action' code is being removed ie the code is
Quote
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="xxxxxxxxxx" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
but what I see via Inspect Element on the THank You page has the 'form' code stripped off.

Any hints?

I was also thinking I could just have it in a block on the Thank You pages but can't find how to display on only the Thank You page presumably cos I can't wildcard a Thank You page url.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PayPal 'buy now' button not via payment processor

This forum was archived on 2017-11-26.