PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 13th, 2005, 08:16 PM   #41 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Right but the real issue here is why it does not work in the first place as it is coded correctly
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 9th, 2006, 03:03 PM   #42 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Location: Central Illinois
Posts: 27
Smile

I have an unhacked, unmodified version of classifieds 2.42 and I have the same exact problem. I received the following email:

Quote:
You have received a payment for the classified ad:

http://www.uclickandsave.biz/dev/cla....php?product=7


which should be in the amount of .

Please verify your transaction records to ensure that proper payment was
received for this item.
I did NOT hit the "back" button at any point in the transaction, and PayPal returned me appropriately to the Classifieds program where the ad displayed properly.

table "pp_payments" updated correctly:
id = 4
ad_id = 7
ad_amount = 3.00
ad_key = f872db3d903a1dd298aa58f1c7dc9086

If "ad_amount" $3.00 is there in the database, why isn't it ending up on our notification emails?
skippy is offline   Reply With Quote
Old January 9th, 2006, 03:29 PM   #43 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
It shows on my emails when I try. This is the email string in emails.php

Code:
Content visible to verified customers only.
Now here is the code in payment.php

Code:
Content visible to verified customers only.
and here

Code:
Content visible to verified customers only.
This is something for you to try and see what happens. Try this change in emails.php string to this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 9th, 2006, 03:57 PM   #44 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Location: Central Illinois
Posts: 27
I changed the emails.php as you suggested and tested again.

No change = still no $$$ amount in the email received.
skippy is offline   Reply With Quote
Old January 9th, 2006, 04:10 PM   #45 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Location: Central Illinois
Posts: 27
It's not fancy and I don't know what other problems it could cause, but I fixed it by going for the straight $adamount instead of {$Globals['currency']}{$adamount}.

I guess it was the attempt to put the dollar sign, "$" in front of the number that was causing the problem.

Line 202 of my email.php now looks like this:
Quote:
$Globals['pp_lang']['payltr'] = "You have received a payment for the classified ad:\n\n{$Globals['maindir']}/showproduct.php?product=$adid\n\n
which should be in the amount of $adamount.\n\nPlease verify your transaction records to ensure that proper payment was
received for this item.";
skippy is offline   Reply With Quote
Old January 9th, 2006, 05:12 PM   #46 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Well then I would have to ask quite simply is your global currency value filled out?

If you can get the link to show the $adid from the query and you can get $adamount to show in the email then you should be able to get this to show provided its not failing but I dont see how.

$adamtf = "($Globals['currency']}" . number_format( $adamount, 2 );

Like I stated before it seems to work there have only been a handful of users who have reported this and I have posted everytime this quick change to $adamount as I posted in post 43 here
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 10th, 2006, 11:12 AM   #47 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Location: Central Illinois
Posts: 27
Yes, they seem to be all filled out, if you're talking about one of these:

Global Options >> Currency symbol>> $
Payment Options>> PayPal currency code? >> USD
skippy is offline   Reply With Quote
Old January 10th, 2006, 11:23 AM   #48 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Okay well you have something that works true it just eludes me on why it fails on your system since clearly the variable $adamount is defined since you can use it. You should be able to use the default email string which uses $adamtf since all that does is take $adamount and places it in simple number format

You can also upload the default files and see if $adamtf works like so by changing the line in payment.php like so

$adamtf = "($Globals['currency']}{$adamount}";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 11th, 2006, 01:19 PM   #49 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 22
Quote:
Originally Posted by Chuck S
then in languages/english/emails.php is this

Code:
Content visible to verified customers only.
I would love the find the issue that all 5 users over the months have had
I can make the same suggestion I made to them to try out.

Try replacing $adamtf with this $$adamount in the emails.php language string
I have the exact same problem - missing $$ amount in the email notification. I have made the suggested change above and will verify if it fixed the problem.

Edit: Yup - worked perfectly.

Last edited by belindaj; January 11th, 2006 at 01:26 PM.
belindaj is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paypal Cancel Echeck Payment stitch Before You Buy 12 June 30th, 2008 02:23 PM
Payment Gateway(s) Shadowsuite Before You Buy 4 May 3rd, 2006 08:36 AM
Paypal payment tomshawk Before You Buy 4 August 2nd, 2005 05:56 AM
Other payment ways VampireMan Before You Buy 1 April 21st, 2005 08:43 PM
Payment for Install osariase Before You Buy 2 March 18th, 2005 03:44 PM


All times are GMT -5. The time now is 04:12 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0