Page 1 of 1

PayPal Logging

Posted: Mon Nov 17, 2008 9:53 am
by Jusedawg
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

Re: PayPal Logging

Posted: Mon Nov 17, 2008 9:59 am
by mazhar
Turn on the debug mode from Edit Gateway page and it will log the information in the logs folder.

Re: PayPal Logging

Posted: Mon Nov 17, 2008 10:05 am
by Jusedawg
Um, the first line says I have it in Demo mode and no logging still! : P

Re: PayPal Logging

Posted: Mon Nov 17, 2008 10:15 am
by Jusedawg
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?

Re: PayPal Logging

Posted: Mon Nov 17, 2008 10:23 am
by mazhar
The default is the base currency.

Re: PayPal Logging

Posted: Mon Nov 17, 2008 1:52 pm
by Jusedawg
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?

Re: PayPal Logging

Posted: Tue Nov 18, 2008 9:50 am
by sohaib
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?

Re: PayPal Logging

Posted: Tue Nov 18, 2008 5:22 pm
by Jusedawg
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?

Re: PayPal Logging

Posted: Tue Nov 18, 2008 5:56 pm
by Jusedawg
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