Welcome Visitor, Please Login or Register Now |
|
Sunday, May 11, 2025 08:25 AM |
 |
cbitterfield  |
Registered Member |
Posts: 59  |
Joined: 12-28-05 08:25 PM |
|
|
|
 |
|
|
|
 |
|
Credit Card Payment Email Fails to populate correct information |
Edit Delete Quote |
First Post Posted on: 09-17-09 03:26 PM |
 |
|
|
I having been having issues with the email coming after a credit card deposit(member payment) not having the correct information.
The default message is: [cgi-bin/auction/data/language/English/AccountMgr.PM]
cc_payment_email_message~==~Dear <!--FName--> <!--LName-->, Thank you for your payment. For your information, your payment details as follows: Amount: [[currency]]<!--Amount-->, Your user ID is: <!--User_ID-->. Thank you
Notice the First and Last Name.
The only fields that will show up are User_ID and Password and amount.
I reloaded the Auctionawy software from scratch on a new webserver installation and the problem is persistant.
I noticed that the AccountMgr.PM file has the following information: [cgi-bin/auction/AccountMgr.PM] $Out =~ s/<!--User_ID-->/$User{User_ID}/; $Out =~ s/<!--First_Name-->/$User{FName}/; $Out =~ s/<!--Last_Name-->/$User{LName}/; $Out =~ s/<!--Street-->/$User{Street}/; $Out =~ s/<!--City-->/$User{City}/; $Out =~ s/<!--State-->/$User{State}/; $Out =~ s/<!--Zip-->/$User{Zip}/; $Out =~ s/<!--Country-->/$User{Country}/; $Out =~ s/<!--Phone-->/$User{Phone}/; $Out =~ s/<!--Email-->/$User{Email}/; $Out =~ s/<!--Company-->/$User{Company}/;
I have tried First_Name and every variation that I know. Has anyone solved or seen this issue?
-C
|
|
|
|
|
|
 |
cbitterfield  |
Registered Member |
Posts: 59  |
Joined: 12-28-05 08:25 PM |
|
|
|
 |
|
|
|
 |
|
I have located the offending Module, but I need assistance. |
Edit Delete Quote |
Reply #: 1 Posted on: 09-21-09 04:10 PM |
 |
|
|
cgi-bin/auction/MoneyMgr.pm
[What I know is that if I change one of the Msg lines to <!--TEST_Code-->/"TEST MESSAGE"/g;
Then the message is replaceable with the class "<!--TEST_Code-->". Which means that $Para{FName} is not set properly.
Anybody got a clue as to why this does not populate? I have seen a similar issue one another "Area" as well. with <!--Site_Name--> not working.
=== Code Snipet ===
&Make_Deposit($Param{User_ID}, $Param{Amount}, &Time(time), $Source, $Auth_Code, $Trans_ID); $Temp = $dbh->quote($Param{User_ID});
$Msg = &Translate_Classes(&Translate($Language{cc_payment_email_message})); $Msg=~ s/<!--FName-->/$Param{FName}/g; $Msg=~ s/<!--LName-->/$Param{LName}/g; $Msg=~ s/<!--User_ID-->/$Param{User_ID}/g; $Msg=~ s/<!--Password-->/$Param{Password}/g; $Msg=~ s/<!--Amount-->/$Param{Amount}/g; $Msg=~ s/<!--Auth_Code-->/$Auth_Code/g; $Msg=~ s/<!--Trans_ID-->/$Trans_ID/g; $Subj = &Translate($Language{cc_payment_email_subject});
#Email($From, $TO, $Subject, $Message); &Email($Global{Billing_Email}, $User{Email}, $Subj, $Msg);
$Plugins{Body} = &Translate($Language{cc_payment_accepted_msg}); &Display($Global{AccountManager_Template}); }
|
|
|
|
|
|
 |
 |
cbitterfield  |
Registered Member |
Posts: 59  |
Joined: 12-28-05 08:25 PM |
|
|
|
 |
|
|
|
 |
|
That fixed most of the issue - Thanks (One last issue) |
Edit Delete Quote |
Reply #: 3 Posted on: 09-23-09 05:34 PM |
 |
|
|
I change the code (Line 204) as below. And that works as expected.\
\
\
$Msg = &Translate_Classes(&Translate($Language{cc_payment_email_message}));\
$Msg=~ s//$User{FName}/g;\
$Msg=~ s//$User{LName}/g;\
$Msg=~ s//$User{User_ID}/g;\
$Msg=~ s//$User{Password}/g;\
$Msg=~ s//$Param{Amount}/g;\
$Msg=~ s//$Auth_Code/g;\
$Msg=~ s//$Trans_ID/g;\
\
The Class Site_Name does not work as part of the email. (I am using it in the Subject line). Do I need to add a $Msg =~ line for this or is it another issue? |
|
|
|
|
|
|
|
Mewsoft and Mewsoft Logos are registered trademarks.
® Corporation. All Rights Reserved.
Copyright -
Privacy -
Terms of Use
| Page Load: 0.1826 Seconds |
|