PayPal Logging

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

PayPal Logging

Post by Jusedawg » Mon Nov 17, 2008 9:53 am

I have PayPal gateway in Demo mode and it states it should be writing transactions to a log file, but I see no PayPal log file in the App_Data/Logs

Is there something else that needs to be done in order to enable logging for PayPal?

As an aside to this, I want to enable logging because one of our transactions was parsed incorrectly when it got the IPN

The payment sent to PayPal was correct...

A payment authorization for $29.23 is being requested

Looking in PayPal that is the amount shown, but when it got the IPN update, it moved the decimal place.

The order has been paid, a credit balance of -2.893,77 kr. remains.

I suspect it has something to do with regional setting, but not sure as this is the only transaction like this.

Thanks,

Chad
Last edited by Jusedawg on Mon Nov 17, 2008 10:39 am, edited 1 time in total.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: PayPal Logging

Post by mazhar » Mon Nov 17, 2008 9:59 am

Turn on the debug mode from Edit Gateway page and it will log the information in the logs folder.

Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Re: PayPal Logging

Post by Jusedawg » Mon Nov 17, 2008 10:05 am

Um, the first line says I have it in Demo mode and no logging still! : P

Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Re: PayPal Logging

Post by Jusedawg » Mon Nov 17, 2008 10:15 am

FYI - Looking in the ac_UserSettings table, the user that got that weird error has no UserCurrencyID

When a user is created does it not assign the store currency by default?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: PayPal Logging

Post by mazhar » Mon Nov 17, 2008 10:23 am

The default is the base currency.

Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Re: PayPal Logging

Post by Jusedawg » Mon Nov 17, 2008 1:52 pm

mazhar wrote:The default is the base currency.
So we are saying this is an error when the user was created since he has no currency set all, right?

Anyone got anything about PayPal logging not working?

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: PayPal Logging

Post by sohaib » Tue Nov 18, 2008 9:50 am

So we are saying this is an error when the user was created since he has no currency set all, right?
If there is no currency set for the user then it means that the user's preferred currency is the same as the default store currency. It is automatically picked. It is not an error.

Whatever the user's preferred currency is it will not affect how PayPal works because user's preferred currency is only for display purpose. The actual transactions that take place between the store and PayPal are based on the default currency set for the store.

The details you have provided about the odd transaction are not enough to figure out the problem.
What is your store's base currency? Is it the same as the currency you use for PayPal transactions?
Did you make any changes to your currency setup when the transaction was in progress? Possibly before receiving the IPN callback from PayPal.
What are the regional settings you are talking about in your first comment?

Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Re: PayPal Logging

Post by Jusedawg » Tue Nov 18, 2008 5:22 pm

Nevermind, I answered my own question I think. The second server was still set for Icelandic.

I will see if that affects it.

I am still however stumped as to why PayPal logging is also not working for some reason and all other log files are writing fine to the logs folder.



Any ideas?

Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Re: PayPal Logging

Post by Jusedawg » Tue Nov 18, 2008 5:56 pm

FYI - after looking at the PayPal code, it does not record any of the communication for PayNowButton or IPNProcessor so nevermind to that question as well.

It looks like to is only for Payments Pro.

Thanks,

Chad

Post Reply