Seeing Order Number in Paypal Pro Details
Hi,
I'm using zen cart 1.38 with PayPal Website Payments Pro
Should I be able to see the order number when looking at transaction details? I have several sites and it can get confusing when looking thru transactions and not knowing what site a payment came from.
Regards,
Barry
Re: Seeing Order Number in Paypal Details
Sorry, not at the present time.
Re: Seeing Order Number in Paypal Details
Thanks- any way if indicating what site or IP address the order came from in Paypal?
Re: Seeing Order Number in Paypal Details
You could try making the following edit to /includes/modules/payment/paypaldp.php, at line 539:
Replace:
Code:
// unused at present:
// $options['CUSTOM'] = '';
// $options['INVNUM'] = '';
// $options['DESC'] = '';
with this:
Code:
// send the store name as transaction identifier, to help distinguish payments between multiple stores:
$options['INVNUM'] = STORE_NAME; // (cannot send actual invoice number because it's not assigned until after payment is completed)
// $options['CUSTOM'] = ''; // reserved for internal use in next version of Zen Cart:
// $options['DESC'] = ''; // reserved for internal use in next version of Zen Cart:
Re: Seeing Order Number in Paypal Pro Details
Cool! I'ts in there, I'll let you know
Incidentally, paypaldp.php is actually in the
/includes/modules/payment dirrectory
Re: Seeing Order Number in Paypal Pro Details
Quote:
Originally Posted by
BarryLegal
Incidentally, paypaldp.php is actually in the
/includes/modules/payment dirrectory
Oops. Typo fixed. :blush:
Re: Seeing Order Number in Paypal Pro Details
Still not showing up. Here's the details I do get:
Item Total:
$114.93 USD
Shipping:
$0.00 USD
Handling:
$0.00 USD
Sales Tax:
$9.34 USD
Total Amount:
$124.27 USD
Fee amount:
-$2.66 USD
Net amount:
$121.61 USD
Date:
Oct 18, 2009
Time:
17:38:44 EDT
Status:
Completed
Payment Type:
Instant
Re: Seeing Order Number in Paypal Pro Details
That's curious.
I tested it myself and it worked great:
Item Total:
$49.99 USD
Shipping:
$2.50 USD
Handling:
$0.00 USD
Sales Tax:
$6.37 USD
Total Amount:
$58.86 USD
Fee amount:
-$2.01 USD
Net amount:
$56.85 USD
Invoice ID:
My Testing Store
Date:
Oct 16, 2009
Time:
09:32:28 PDT
Status:
Completed
Payment Type:
Instant
Re: Seeing Order Number in Paypal Pro Details
Yeah, looks great! that would be exactly what we need :blink:
I checked both orders paid with cc and paypal, still no store name.
I've got this code on line 540 of paypaldp.php:
$options['INVNUM'] = STORE_NAME;
Thanks in advance.
Re: Seeing Order Number in Paypal Pro Details
Did the changes upload to the server successfully?