YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

settle_amount variable Options
Guest(old)
#1 Posted : Monday, December 16, 2002 8:45:02 PM
Rank: Starting Member

Groups: Registered

Joined: 11/12/2002
Posts: 312
Location: ,
I can't seem to get the subject variable to print out. I assign "settle_amount" to a local variable but it never prints out. I don't have problems with any other variables. Am I using a reserved word or what? At first guess, it would seem to be a typo but I've reenter the lines several times. Any ideas? ---------- # assign posted variables to local variables # note: additional IPN variables also available -- see IPN documentation $fname = $variable{'first_name'}; $lname = $variable{'last_name'}; $addstat = $variable{'address_status'}; $item_name = $variable{'item_name'}; $receiver_email = $variable{'receiver_email'}; $payer_email = $variable{'payer_email'}; $payer_id = $variable{'payer_id'}; $payer_status = $variable{'payer_status'}; $item_number = $variable{'item_number'}; $invoice = $variable{'invoice'}; $trans = $variable{'txn_id'}; $payment_status = $variable{'payment_status'}; $reason = $variable{'pending_reason'}; $payment_gross = $variable{'mc_gross'}; $fee = $variable{'mc_fee'}; $net = $variable{'settle_amount'}; $adate = $variable{'payment_date'}; $payment_type = $variable{'payment_type'}; $notify_version = $variable{'notify_version'}; open(MAIL,"|$mailprog -t"); print MAIL "To: $sendto\n"; print MAIL "CC: $sendtobcc\n"; print MAIL "From: $sendfrom\n"; print MAIL "Subject: PayPal Error\n\n" ; print MAIL " Payment Status: $payment_status\n"; print MAIL " Status Reason: $reason\n"; print MAIL " Process Date: $adate\n"; print MAIL " Transaction ID: $trans\n"; print MAIL " Item Name: $item_name.\n"; print MAIL " Payment Amt: $payment_gross.\n"; print MAIL " Processing Fee: $fee.\n"; print MAIL " Net Deposited: $net.\n"; print MAIL "Customer (last/first): $lname, $fname.\n"; print MAIL " Customer Email: $payer_email\n"; print MAIL " Address Status: $addstat\n"; print MAIL " Payer ID: $payer_id\n"; print MAIL " Payer Status: $payer_status\n"; print MAIL " Payment Type: $payment_type\n"; print MAIL " Notify Version: $notify_version\n"; print MAIL " Res: $res\n"; close (MAIL);
Sponsor  
 
PayPalStephen
#2 Posted : Monday, December 16, 2002 9:02:24 PM
Rank: Starting Member

Groups: Registered

Joined: 10/17/2002
Posts: 2,139
Location: ,
The 'settle_amount' variable is either being added or changed as part of upcoming enhancements to the IPN code related to the Multiple Currencies feature. It may not be active yet.

Checking on this variable.


Stephen Ivaskevicius
PayPal/eBay, Inc.
www.paypal.com/pdn
PayPalStephen
#3 Posted : Tuesday, December 17, 2002 1:26:53 PM
Rank: Starting Member

Groups: Registered

Joined: 10/17/2002
Posts: 2,139
Location: ,
The 'settle_amount' is included when the payment is converted from one currency to another.



Stephen Ivaskevicius
PayPal/eBay, Inc.
www.paypal.com/pdn
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.096 seconds.