Zen Cart Logo
Forums / General Questions / Storage of PayPal Invoice ID in store database

Storage of PayPal Invoice ID in store database

Views: 1,745

Results 1 to 3 of 3
1 Nov 2014, 4:17 PM
#1
heyits007 avatar

heyits007

Zen Follower

Join Date:
Sep 2010
Posts:
270
Plugin Contributions:
0

Storage of PayPal Invoice ID in store database

Does the PayPal Invoice ID or Transaction ID get stored anywhere in the ZenCart database ? It would be nice to be able to link the PayPal transaction details to the transaction data in ZenCart. i.e. via PayPal transaction ID and invoice ID. I can then run some PayPal cross referencing reporting queries on the ZenCart database.

1 Nov 2014, 4:47 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Storage of PayPal Invoice ID in store database

HeyIts007:

Does the PayPal Invoice ID or Transaction ID get stored anywhere in the ZenCart database ?

Yes.

zen_paypal (Transaction ID and order ID)
zen_paypal_payment_status_history (transaction ID only)

HeyIts007:

It would be nice to be able to link the PayPal transaction details to the transaction data in ZenCart. i.e. via PayPal transaction ID and invoice ID. I can then run some PayPal cross referencing reporting queries on the ZenCart database.

Customers->PayPal_IPN already does this. Is there something more that you need?

Cheers
RodG

1 Nov 2014, 6:32 PM
#3
heyits007 avatar

heyits007

Zen Follower

Join Date:
Sep 2010
Posts:
270
Plugin Contributions:
0

Re: Storage of PayPal Invoice ID in store database

Thanks for the advice. I note that "zen_paypal_payment_status_history" mostly seems to show refunded transactions, rather than all transactions. There is an invoice column in the paypal table, but it does not seem to show all invoices that the transaction generates in the email. Instead a different transaction ID is often shown. Perhaps it depends on the transaction type.