Yep, the edited paypaldp.php is up there but still no store name.
I also found the same unused field code block in paypalwpp.php in the same directory & made the edit, I'll let you know if that makes a difference.
Yep, the edited paypaldp.php is up there but still no store name.
I also found the same unused field code block in paypalwpp.php in the same directory & made the edit, I'll let you know if that makes a difference.
Editing the paypaldp.php file deals with Pro transactions. The paypalwpp.php file deals with Express Checkout transactions. (Ya, I know, the names are confusing ... it's all changed in 2.0)
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hey Dr Byte- I got the store name in Invoice ID, thanks!
It's an instant payment, here's what it looks like:
Invoice ID: Giggles.com
Date: Oct 22, 2009
Time: 10:49:16 EDT
Status: Completed
Payment Type: Instant
I'm not sure which file edit did the trick, I'm going to add the code to paypalwpp.php on another of my stores and wee what happens.
Aha!
Now I'm getting this error:
"Payment has already been made for this InvoiceID"
Oops!![]()
That's odd ... I didn't get that in my testing.
However, you can do this instead:
That'll add the current time (to the millisecond) to the end of the store name, making it reasonably unique.Code:$options['INVNUM'] = STORE_NAME . ' - ' . time();
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks