Forums / PayPal Express Checkout support / Pass Order number to PayPal?

Pass Order number to PayPal?

Views: 1,421

Results 1 to 3 of 3
30 May 2014, 4:01 PM
#1
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Pass Order number to PayPal?

Is there a way to pass the Zen Cart order number to PayPal? Customers often have different identities on PayPal than they enter in the Zen Cart checkout. So it becomes a pain to match Zen Orders to PayPal Payments. It would greatly simplify things if I could see the Zen Cart Order number at PayPal.

30 May 2014, 11:23 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Pass Order number to PayPal?

The current version of Zen Cart does indeed pass an identifier.
(It can't pass the order number because the order number doesn't exist yet when payment is collected. But it does the following instead ... )
Since v1.5.0 it sets the invoice number to "XX-YYYYYYY-ZZZZZZZZZZ" where XX = customer ID number in your store, YYYYYYYY is the date, and ZZZZZZZZ is your store name.
It also passes a custom field in the format of "EC-XX-YYYYYYY", where "EC-" is always present, and XX and YYYYYYY are customer number and date respectively.
Both allow for matching things up in reports etc.

.
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.

30 May 2014, 11:59 PM
#3
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Pass Order number to PayPal?

DrByte:

......
Since v1.5.0 it sets the invoice number to "XX-YYYYYYY-ZZZZZZZZZZ" .....

I have been waiting for version 1.6 before I make the plunge and upgrade from v1.39h