• [MOD] Paypal Mod (Shop Mod Lite) 5 0 5 1
Currently:  

Author Topic: [MOD] Paypal Mod (Shop Mod Lite)  (Read 107027 times)

0 Members and 1 Guest are viewing this topic.

Offline cookie

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #30 on: May 27, 2006, 12:32:13 PM »
I know this might sound like a strange business model, but I would like to see if it is feasible to create a mod which will have a paypal donate (or buy) button when someone wants to see an e-card (electronic postcard).

They pay $0.50 or $1.00 to send the e-card.

To keep them from just downloading the image and emailing the image, we'd install the watermark MOD.  However, the postcard'ed image would not be watermarked.

Is this possible?  I noticed that icecream stated that this MOD is not a full shop solution. so even though a person pays, they do not get to instantly download the image.  For the solution that I'm talking about, they would pay, and then get to send the e-card immediately.

I apologize if I've posted this message in an inappropriate place.

I've been trying to get to icecream's website to look at the code for this mod for 2 or 3 days now and it seems to be down.  Perhaps you can attach the files in your original post.

Offline bigwave

  • Newbie
  • *
  • Posts: 35
  • stuck on the North Shore of Maui
    • View Profile
    • Maui Tropica
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #31 on: September 13, 2006, 10:30:19 PM »
Hi,

I'm getting this error after install--I'm using 1.7.3:

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, i.price, c.cat_name, u.user_name FROM (4images_images i, 4images_categories c) LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id = 31 AND c.cat_id = i.cat_id ORDER BY image_name ASC, image_id ASC LIMIT 0, 9
Unknown column 'i.price' in 'field list'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/cymaui01/public_html/boutique/includes/db_mysql.php on line 116

When I try and rerun the installer I get this error:

An unexpected error occured. Please try again later.
an Error occured


I'm all backed up--any comments before I uninstall?

Thanks

Offline walkerweb1

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #32 on: October 06, 2006, 06:46:56 PM »
I too am getting the same error trying to use it on 1.7.3  Any help would be great.   I am somewhat new to this so forgive my ignorance, but I tried to point my browser to the paypal_install.php file in my templates folder, this is how you run the installer, correct?

Offline bigwave

  • Newbie
  • *
  • Posts: 35
  • stuck on the North Shore of Maui
    • View Profile
    • Maui Tropica
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #33 on: October 06, 2006, 07:15:15 PM »
the installer never got repaired as mention previously in the thread

Offline walkerweb1

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #34 on: October 06, 2006, 07:57:42 PM »
Are there any other Paypal mods that you know of?

Thanks for the reply!

Offline bigwave

  • Newbie
  • *
  • Posts: 35
  • stuck on the North Shore of Maui
    • View Profile
    • Maui Tropica
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #35 on: October 06, 2006, 08:16:04 PM »
you know you can stick paypal buttons in the description field but you need to use this:
http://www.4homepages.de/forum/index.php?topic=14433.msg77800#msg77800
from Mr. V@ano who is always a GREAT help, or the formatting will be terrible

The promise of merging 4images with paypal is an incredibly powerful idea--to bad it stops here--maybe the new google checkout would be more viable/doable—if there could be an inventory check the payment processor does all the heavy lifting, 4images would only be the structure and you could have a complete system less the science fiction stuff of the pay on download idea

Offline walkerweb1

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #36 on: October 06, 2006, 08:23:08 PM »
Thank you so much for the help with this!!!! 

Offline kowalski

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #37 on: August 15, 2007, 10:05:32 AM »
To avoid the problem of the error

Unknown column 'i.price' in 'field list'


Use this version of paypal_install.php instead

Code: [Select]
<?php

define
('ROOT_PATH''./');
include(
ROOT_PATH.'config.php');
include(
ROOT_PATH.'global.php');




$sql_data = array(
   
"ALTER TABLE `".IMAGES_TABLE."` ADD `price` VARCHAR( 12 ) NOT NULL",
);

foreach (
$sql_data as $val){
if ($site_db->query($val)) {
 
  $log[$val] = "Succesfully updated Database";
}
else {
  $log[$val] = "<font color=\"red\">Error</font>";
  $error 1;
    }
}

if (!
$error) echo "Succesfully updated Database";
else echo 
"an Error occured";


?>


The only difference from the original file posted is this line:

   "ALTER TABLE `".IMAGES_TABLE."` ADD `price` VARCHAR( 12 ) NOT NULL",

On the original this was 'price2'

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #38 on: August 15, 2007, 01:37:35 PM »
Question: $log ... is happen ? See in foreach but no after ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

rinaldos

  • Guest
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #39 on: November 08, 2007, 12:28:49 PM »
Hello @all

Where i have to put the code from details.php in, when i want to show the paypal button in user_login_form or somewhere els?

---

Hallo zusammen,
wo muss ich den Code aus der details.php reinsetzen, damit der PayPal Button auch im user_login_form oder sonstwo angezeigt wird.

Gruß
Ingo

Offline albertpr9

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #40 on: November 12, 2007, 10:40:14 AM »
I installed the mod, with no errors...

Now where do you go to set the price for each image? Thanks!

-- Edit! --

Found it! : ) 

Thanks!
« Last Edit: November 12, 2007, 12:14:29 PM by albertpr9 »

Offline Melissa67

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #41 on: February 26, 2008, 02:40:04 PM »
Hi -

I have several different artists within the art gallery on my website. Is it possible that each member is able to have their own paypal account so that when a buyer clicks on their buy now button it will be paid to that individual? Is this possible?

Melissa

Offline 5degrees

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #42 on: November 17, 2008, 08:06:05 AM »
The download link for this MOD is broken.

Have tried over 3 days but consistently stating that the page is not available

Does anyone have the file or a location to link it from?

If someone has the file then I will happily supply hosting

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #43 on: November 17, 2008, 03:28:13 PM »
You must register at the site, before you can download the files.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline 5degrees

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [MOD] Paypal Mod (Shop Mod Lite)
« Reply #44 on: November 20, 2008, 02:18:16 PM »
Had registered but when taking link and putting direct into browser I was just getting - page not found.

Have downloaded now from link on first page of this thread - not asked to login.

File downloaded direct from host - all good, cheers!