PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Bug in payment_verification (http://www.photopost.com/forum/classifieds-bug-reports/141054-bug-payment_verification.html)

ktmtalk November 3rd, 2009 06:23 PM

Bug in payment_verification
 
Quote:

$letter .= "He purchased $quantity ads at $csymbol{$price} each.\n\n";
should probably be:

Quote:

$letter .= "He purchased $quantity ads at {$csymbol}{$price} each.\n\n";

Chuck S November 3rd, 2009 06:47 PM

$csymbol may not need to be encapsulated. Thus just looking at the differences I dont see any problem with either line the current or yours.

ktmtalk November 3rd, 2009 06:55 PM

Quote:

Originally Posted by Chuck S (Post 1254606)
$csymbol may not need to be encapsulated. Thus just looking at the differences I dont see any problem with either line the current or yours.

when people get the email, it shows:
"which should be in the amount of }5.00."

here is the line just above it:
Quote:

$letter .= "Your item has been purchased by $tousername for {$csymbol}$adamount.\n\n";
/

Chuck S November 3rd, 2009 07:02 PM

All I am saying is there is no extra } anywhere do you see one?

I will have to see if I can get an email and check but encapsulted not encapsulated should not matter.

My comment on your email would make me wonder where that LONE QUOTE is? Let me go see if I can find anything.

ktmtalk November 3rd, 2009 07:11 PM

here is the full email that gets received:
Quote:

Verify payment for Classified Ad #557<br /><br />You have received a payment for the classified ad:

http://127.0.0.1/pp_classifieds/show...hp?product=557

which should be in the amount of $}5.00.

Please verify your transaction records to ensure that proper payment was
received for this item.
.

Chuck S November 4th, 2009 09:50 AM

yeah I am trying to track down that free quote

ktmtalk November 4th, 2009 10:32 AM

Quote:

Originally Posted by Chuck S (Post 1254618)
yeah I am trying to track down that free quote

I'm thinking it's either going to be in the phrases for "payltr" or here in payment_verification.php:
Quote:

$email = $Globals['adminemail'];
$subject = $pp_phrase['paysub'];
$letter = $pp_phrase['payltr'];
$subject = trim($subject);

list( $getuserid ) = get_admin( $Globals['admninemail'] );

$letter = str_replace("^adid","$adid",$letter);

$letter = str_replace("^adamount","$adamount",$letter);

$letter = str_replace("^csymbol","$csymbol}",$letter);

$letter = str_replace("^Globals['maindir']","{$Globals['maindir']}",$letter);

.

Chuck S November 4th, 2009 10:54 AM

Yes look in payment_verification.php

Code:

Content visible to verified customers only.
The } should not be there

ktmtalk November 4th, 2009 01:17 PM

Quote:

Originally Posted by Chuck S (Post 1254623)
Yes look in payment_verification.php

Code:

Content visible to verified customers only.
The } should not be there

I can't believe I missed that - I looked right at it and didn't see it.

.

Chuck S November 4th, 2009 01:45 PM

LOL yeah sometimes it is that simple

ktmtalk November 4th, 2009 01:55 PM

I have another minor bug... more of an "annoyance".... will post a new thread.

Chuck S November 4th, 2009 03:29 PM

Okay will respond accordingly


All times are GMT -5. The time now is 08:51 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97