Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Adding Paypal code under photographs?  (Read 2575 times)

0 Members and 1 Guest are viewing this topic.

Nighthunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Adding Paypal code under photographs?
« on: December 30, 2007, 04:31:56 am »

Which file do i add this code to?


<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="so_help_me_God@heaven.com ">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="item_name" value="Currumbin Creek">
<input type="hidden" name="amount" value="250.00">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>


Thanks you.

Steve
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding Paypal code under photographs?
« Reply #1 on: December 30, 2007, 11:24:38 am »

Just adding that piece of code will do absolutely nothing except displaying a form. The form is not populated nor is there any relation to the data displayed in coppermine. If that's what you're after, it depends where you want the form to appear. If it is suppossed to show up on all pages, add your code to themes/yourtheme/template.html
If you actually want to integrate paypal with the content from coppermine, just take a look at the existing shopping basket mods.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.