Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: paypal with photo shop 1.3 plugin  (Read 11352 times)

0 Members and 1 Guest are viewing this topic.

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
paypal with photo shop 1.3 plugin
« on: October 29, 2006, 06:06:42 am »

Hi all

I am trying to configure the photo shop v1.3 plugin to accept paypal.

I have read post here. I have modified the int gateway inc.php as below.
// ################################################
//2. Add PayPal button
//please read the paypal documentation for country specific settings
//To enable the PayPal gateway set this to 1, 0 to turn the PayPal gateway of the Photo Shop plugin off
$CONFIG['photo_shop_paypal_enable'] = '1';

I assume now that when u click on confirm order in the checkout that this should direct you to paypal?

Have i down all steps to use paypal or is there something missing ??

Cool plugin simple and easy to use

Cheers


Pete


« Last Edit: October 31, 2006, 10:52:25 am by Stramm »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: paypal with photo shop 1.3 plugin
« Reply #1 on: October 29, 2006, 07:16:47 am »

no, when you click confirm the checkout the shop stores all the date in its db and user will see a confirmation page with payment info. If you enabled paypal support then he gets presented the paypal pay now button

why don't you just try?

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Re: paypal with photo shop 1.3 plugin
« Reply #2 on: October 29, 2006, 08:09:55 am »

Ha


Yep i have tried it, but i didn't see any paypal button ??
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: paypal with photo shop 1.3 plugin
« Reply #3 on: October 29, 2006, 09:05:27 am »

can you post your URL and a testuser account

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Re: paypal with photo shop 1.3 plugin
« Reply #4 on: October 31, 2006, 06:22:55 am »

Ha Stramm

Web host has been down !!!

I read that there is an option to download files onces they are paid for ( I think that was an option i read for version 1.3.1.
Where do i configure this as i don't see an option under the cart. (or is this still being developed ?)

My site http://pcp20us.pc.funpic.org ( free hosting there is one pop up )
login test
password test



Thanks

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: paypal with photo shop 1.3 plugin
« Reply #5 on: October 31, 2006, 09:54:50 am »

The file you should edit is path_to_photo_shop_plugin/include/gateway.inc.php
you edited it and saved it as gateway.inc, that's different filenames. The shop still uses the inc.php file for configuration where the paypal addon still is disabled

navigational images are missing, seems you haven't copied them into your themes images directory

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Re: paypal with photo shop 1.3 plugin
« Reply #6 on: October 31, 2006, 10:50:58 am »

I am a goose,

My mistake with the files renamed then the wrong way, anyway have changed it. And just found link to zipping files for download. Bloody funpic has gone down again, I ll have to test latter. Thanks for the comment about the delete button missing, i new there was something wrong there i did upload em but ftp must have bombed out and missed that file.

Thanks and it a good plugin

Cheers


Logged

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Re: paypal with photo shop 1.3 plugin
« Reply #7 on: November 02, 2006, 01:52:14 am »

Ha stramm

Got it working.

Have tried setting it to go to australia pages. put it keeps redirecting to this page

 https://www.paypal.com/de/cgi-bin/webscr. The de stands for detch  i assume

This is the config in my gateway.inc.php file (see below)
I think its picking up the de setting from somewhere else. I ve seach google and pay pal to findthe right setting but had no luck. Do u konw what is going on !!

Cheers


//2. Add PayPal button
//please read the paypal documentation for country specific settings
//To enable the PayPal gateway set this to 1, 0 to turn the PayPal gateway of the Photo Shop plugin off
$CONFIG['photo_shop_paypal_enable'] = '1';

//That's the currency paypal should use. You can use eg. 'USD', 'EUR', 'GBP', 'CAD', 'JPY'
$CONFIG['photo_shop_paypal_currency'] = 'USD';
 
//Define the button, language
$CONFIG['photo_shop_paypal_image'] = 'http://www.paypal.com/en_AUD/i/btn/x-click-but01.gif';
//The button eg. for Germany
//$CONFIG['photo_shop_paypal_image'] = 'http://www.paypal.com/en_AUD/i/btn/x-click-but01.gif'

//Your PayPal email address, where your customers should send the funds
$CONFIG['photo_shop_paypal_email'] = 'pcp20us@hotmail.com';
Logged

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Re: paypal with photo shop 1.3 plugin
« Reply #8 on: November 02, 2006, 01:54:06 am »

i just realised that this is just the link to the image, so where does it pick up the redirect page from ???

I am learning

Pete
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: paypal with photo shop 1.3 plugin
« Reply #9 on: November 02, 2006, 10:10:27 pm »

yes, de stands for 'deutsch' german
but by default the gateway.inc.php is set to use paypal US. Only if you delete the default and commented out the alternative to demonstrate lang specific setup, then the shop connects to the german paypal server

some reading
https://www.paypal.com/IntegrationCenter/ic_home.html
https://www.paypal.com/en_US/pdf/PayflowPro_Guide.pdf

more I can't tell you. It's up to you how you configure the paypal addition. How to do that you'll find on the paypal site

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Re: paypal with photo shop 1.3 plugin
« Reply #10 on: November 04, 2006, 03:26:52 am »

Hi Stramm

I have been playing trying to get this to work.

I am using you orginal files. So using the US pay button. With language set to US.

Though below is the code from photo_shop_checkout which i found the language to be set to de. I do not  understand PHP so i thought i dmention this as i understand that paypal setting should be pickking up by the languge setup which in this case is US so change the post method to US but it stayed set to de?? I may have missed something along the way in the settings but thought i d let u know

I have now have mine set to Australia. Others might get caught by this !!

Cheers



//pay with paypal
         if ($CONFIG['photo_shop_paypal_enable']) {
            $msg_box_txt .= <<<EOT
               <br><br>{$lang_photoshop['paypal']}<br>
               
               <form action="https://www.paypal.com/de/cgi-bin/webscr" method="post">
               <input type="hidden" name="cmd" value="_xclick">
               <input type="hidden" name="business" value="{$CONFIG['photo_shop_paypal_email']}">
               <input type="hidden" name="item_name" value="{$CONFIG['gallery_name']} {$lang_photoshop['order_id']} {$order_id}">
               <input type="hidden" name="currency_code" value="{$CONFIG['photo_shop_paypal_currency']}">
               <input type="hidden" name="amount" value="{$item_price}">
               <input type="hidden" name="shipping" value="{$shipping_price}">
               <input type="image" src="{$CONFIG['photo_shop_paypal_image']}" name="submit" alt="Pay with PayPal!">
               </form>
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: paypal with photo shop 1.3 plugin
« Reply #11 on: November 04, 2006, 10:53:09 am »

thanks for the report... I'll change that and add a config entry for the form action url

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: paypal with photo shop 1.3 plugin
« Reply #12 on: November 04, 2006, 06:42:55 pm »

that should make it possible to define the paypal server your coppermine installation is connection to within the config (incl.ude/gateway.inc.php)

unpack overwriting the existing files

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Re: paypal with photo shop 1.3 plugin
« Reply #13 on: November 06, 2006, 12:47:01 pm »

Very Nice mate Thanks. Now to play with paypal !!

U may want another thread for this question below ??

I have installed you photo_zip but cannot see it anywhere. (I assunme u will see it on the same page as the paypal button.
 I have modified the english .php and shop_admin.php.

Though cannot get this to fly.
any suggestion !!

Thanks again
Pete
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: paypal with photo shop 1.3 plugin
« Reply #14 on: November 06, 2006, 12:50:43 pm »

The zip is a feature for the webmaster, not the client... to easily allow downloading of the pics and sending them to a print service etc.

julala

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 55
    • Smileonthetiles
Re: paypal with photo shop 1.3 plugin
« Reply #15 on: November 21, 2006, 11:12:12 am »

Is it possible to force the user to pay before the order is logged as confirmed?  I get alot of orders and whilst I used to send paypal invoices to each order, its getting a tad too busy to keep up with it.   :-\  It would be cool if the order is only confirmed once the user has paid.

Happy to move this to the request freelancers section and pay for coding if neccessary.

Thanks.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: paypal with photo shop 1.3 plugin
« Reply #16 on: November 21, 2006, 11:33:53 am »

julala

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 55
    • Smileonthetiles
Re: paypal with photo shop 1.3 plugin
« Reply #17 on: November 21, 2006, 11:49:12 am »

OK thanks Straam - have posted request in freelancer board.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: paypal with photo shop 1.3 plugin
« Reply #18 on: November 21, 2006, 02:24:30 pm »

julala's thread on the freelancer board: http://forum.coppermine-gallery.net/index.php?topic=38686.0

In the future, don't try to hijack threads with unrelated stuff, particularly threads that are marked as "solved". Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.