Zen Cart Logo
Forums / General Questions / Paypal IPN Refund not working

Paypal IPN Refund not working

Locked

Views: 7,102

Results 1 to 20 of 33
This thread is locked. New replies are disabled.
12 May 2006, 8:58 PM
#1
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Paypal IPN Refund not working

For some reason when i installed zc1.3 its not putting my refunded order back to the status of Pending. Im not sure why, i have checked all the information, and made sure everything was exact. But for some reason it wont change the status on the site. its still set to whatever it was before the refund was givin. Before it would change the status.

My next question is, does it reflec refunds in the sales reports? i cant tell since the site isnt showing that i have given a refund since i installed this new cart. Is there a setting in the config menu that i have failed to find? im just stumped.

and my last question, is there a way to change the names of the status's for orders? like have one that says "refunded" or something? can someone tell me what file i need to edit for this, or is it even a simple change? Can super orders do this? since i use it as well to add/remove items from orders.

Any help would be great.
Thanks

12 May 2006, 9:20 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN Refund not working

When you upgraded, did you uninstall and reinstall PayPal and reconfigure it?

Note: don't forget the v1.3.0.1 upgrade if you have not done so already ...

12 May 2006, 9:29 PM
#3
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: Paypal IPN Refund not working

yes i believe i did, but i can go ahead and redo it if i need to.

I just have to click the uninstall and then the install, correct, or should i be uploading a fresh set of files?

No i havnt done that upgrade, can i do it on a live site easly? or will i need to go though that whole long process?

12 May 2006, 9:35 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN Refund not working

Uninstall ...

Go get a cup of coffee ...

Reinstall ...

Configure ...

Get another cup of coffee ...

Just make sure the cache is clear ... sometimes need to close browser, clear cache, etc.

Then check again ...

12 May 2006, 9:38 PM
#5
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: Paypal IPN Refund not working

alright i tried that, ill see what happens

now with the patch for 1.3, if i get the full fileset is it going to over write all my lang files that iv edited? or should i just get the changed fileset?

reason i ask is becuase i think that i may have loaded my old 1.2 version files over the new ones when i was doing the upgrade, but im not sure....

everything seems to work alright, but like i dont have an option for the sitemap and things, which is odd.

12 May 2006, 9:44 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN Refund not working

If you use templates and overrides correctly, your things do not get overwritten ...

However, this does not mean that you do not have to check them against new code, language files, etc. to see if there are new things your overrides are missing ...

I always recommend:

1 Backup database

2 Backup site

3 Make test directory

4 Make test database

5 load backup from live database into test database

6 test upgrade on test site ...

7 write down issues and correct them ...

8 repeat ...

9 continue repeat until you have it down to a quick upgrade and all issues resolved

10 Set Live site to Down for Maintenance

11 Backup Live Database

12 Upgrade test database again with most recent Live Database

13 Test Test Test

14 if all is perfect ... you can now take test directory to make live (rename, move, etc.)

15 update configure.php files to match new path for Live site

16 Test Test Test

17 Take off Down for Maintenance

12 May 2006, 10:48 PM
#7
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: Paypal IPN Refund not working

alright, i did it my shorter version way, and everything worked out great. All seems to be working, Ill have to check the Paypal refund thing later. I hope that starts working now.

8 Jul 2006, 4:05 AM
#8
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Paypal IPN Refund not working

wickedklown:
Did you get this working? I'm running Zenc 1.3.0.2 and have uninstalled, reinstalled, cleared cache etc. and still no status change

Ajeh (If I'm so lucky and you're reading this) - or anyone else who might know - I presume refunds are done via paypal - which should reflect in the Paypal IPN.

The good news, is my Paypal IPN is indeed showing the refunds - the bad news is even with the uninstall, reinstall and dumping of cache, the order status does not change as it should to the designated "refund" state.

Could it still be a lag and I just need to wait for the magic hour? ;)

TIA!

8 Jul 2006, 11:34 PM
#9
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Paypal IPN Refund not working

Well, I've waited and checked back in and the status on the refunded orders hasn't changed :( Guess it has to be done manually?

Or perhaps I've missed something?

8 Jul 2006, 11:57 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN Refund not working

I have PayPal set to

Set Order Status
Processing (orders_status 2)

And even made a new Orders Status for the Refund ...
Set Refund Order Status
Refunded [7]

I get back on the order:

07/08/2006 19:53:01 False Processing PayPal status: Completed @ 16:53:22 Jul 08, 2006 PDT Parent Trans ID: Trans ID:77X49763N7195862X Amount: 0.09

I get back on the refund ... note: did a partial refund

07/08/2006 19:54:01 False Refunded PayPal status: Refunded @ 16:54:26 Jul 08, 2006 PDT Parent Trans ID:77X49763N7195862X Trans ID:7L274654SV521994D Amount: -0.05

9 Jul 2006, 12:19 AM
#11
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Paypal IPN Refund not working

Ajeh:
I guess I'm totally obtuse :cry:
I don't know what you are pulling from below.
I presume you are indicating that it is working fine on your install.

and of course I went and deleted my test orders.
I'll go do another one and pull the IPN information off the orders (I am assuming that is what you quoted in your message)

Thanks for your help

9 Jul 2006, 12:31 AM
#12
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Paypal IPN Refund not working

hmm. we might be getting somewhere.
On the order page:

07/08/2006 20:23:01 False Processing PayPal status: Completed @ 17:22:55 Jul 08, 2006 PDT Parent Trans ID: Trans ID:1R718415SB6025126 Amount: 0.01

However there was no corresponding line item indicating the refund as acknowledged (at least not in that same table)

Strangely enough, higher up on the Order, I have the following:

Payment Type: instant
Payment Status: Refunded
Pending Reason:
Invoice:
Payment Date: 07/08/2006 17:25:47

And on the Paypal IPN I also show an acknowledgement of the refund.

One thing I notice on the Paypal IPN page, I'm not sure if this is how it is supposed to work: The parent & Refund under Order number reflect the same order number. The parent & refund items under "Paypal #" do not match - the parent is # 9 and the refund is #10.

To do the refund, I am doing it directly through Paypal. This is how I am supposed to do it, right?

9 Jul 2006, 12:41 AM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN Refund not working

And if you look at the Order now ... you do not see the refund?

9 Jul 2006, 12:44 AM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN Refund not working

And when looking at the PayPal IPN ... you do not see 2 records 1 for the purchase and 1 for the refund?

Make an order for 3 items ... or $0.03 cents so there is no confusion

Make a refund on that Order for $0.02 cents so that there is no confusion

9 Jul 2006, 12:44 AM
#15
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Paypal IPN Refund not working

No :(
and process is still set to Processing.

9 Jul 2006, 12:45 AM
#16
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Paypal IPN Refund not working

will try the 3 cent order with 2 cent refund. Stand by :)
(you're a saint. thanks so much for your help!)

9 Jul 2006, 12:45 AM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN Refund not working

NOTE: in the PayPal IPN listing the Orders # DOES matche ... the PayPal # does NOT match ...

9 Jul 2006, 12:55 AM
#18
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Paypal IPN Refund not working

Same thing is happening.

On the order page I have (in the table where comments go)

Date Added Customer Notified Status Comments
07/08/2006 20:50:29 True Processing
07/08/2006 20:50:29 False Processing PayPal status: Completed @ 17:50:18 Jul 08, 2006 PDT Parent Trans ID: Trans ID:3AR32852PB8563724 Amount: 0.03

Up above (in a grey colored table) I have:

Payment Type: instant
Payment Status: Refunded
Pending Reason:
Invoice:
Payment Date: 07/08/2006 17:52:19

and on the Paypal IPN page I have:

Order # PayPal # Transaction Type Payment Status Amount Action
10 12 parent
woodlandsprite Refunded
Parent Trans ID:3AR32852PB8563724
Trans ID:4YA0380015529335T USD -0.02
10 11 unique
woodlandsprite Completed
Parent Trans ID:
Trans ID:3AR32852PB8563724 USD 0.03

9 Jul 2006, 12:56 AM
#19
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Paypal IPN Refund not working

I should note that even with the refund showing in the Paypal IPN the status is still set to processing and not Refunded (as is identified in the Paypal Payment module)

9 Jul 2006, 12:58 AM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN Refund not working

And this was a clean installation of v1.3.0.2 made from the Full Zen Cart v1.3.0.2 that you got from here ...

What happens if you change your template to Classic?