Forums / Built-in Shipping and Payment Modules / PayPal IPN Refund still in pending status...

PayPal IPN Refund still in pending status...

Locked

Started by hedron on 8 Oct 2009, 8:05 AM · Views: 4,865

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
8 Oct 2009, 8:05 AM
#1
hedron avatar

hedron

Zen Follower

Join Date:
Feb 2009
Posts:
138
Plugin Contributions:
0

PayPal IPN Refund still in pending status...

One of our customers purchased one too many items.

We refunded the customer for the unwanted item through PayPal.

The transaction still shows pending with the original total.

This is our first refund, so maybe we are missing something.

The transaction summary table within the transaction in question shows 4 columns with 3 rows:

Date Added, Customer Notified, Status, Comments

  1. The order date, a green checkmark, Processing, and an empty field.
  2. The payment date (same), a red cross, Processing and the total amount received.
  3. The refund date (next day), a red cross, Pending and the refund amount.

This refund was processed a month ago and we already shipped this order...

What am I missing? Am I supposed to manually change the total and the status?


No other order shows pending. All others show Processing.

By the way, once shipped, are we supposed to manually change Processing as well, or is that also supposed to update automatically?

Now that I look at it I am guessing that for Processing orders being Delivered I have to manually enter comments where appropriate, change the status to Delivered and click on update... right?

Is that similar for refunded orders? It takes a manual update?

Thank you.

8 Oct 2009, 11:50 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: PayPal IPN Refund still in pending status...

hedron:

The transaction summary table within the transaction in question shows 4 columns with 3 rows:

Date Added, Customer Notified, Status, Comments

  1. The order date, a green checkmark, Processing, and an empty field.
  2. The payment date (same), a red cross, Processing and the total amount received.
  3. The refund date (next day), a red cross, Pending and the refund amount.

This refund was processed a month ago and we already shipped this order...That is normal.
Zen Cart doesn't presently have built-in support for making alterations to an order once it's been placed.
Thus, a PayPal partial refund is seen only as a comment, and does not change the original order details at all.
Additionally, a PayPal refund will set the order back to "Pending" status. If you want it set to something else, you'll need to change that manually afterwards.> hedron:

No other order shows pending. All others show Processing.

By the way, once shipped, are we supposed to manually change Processing as well, or is that also supposed to update automatically?There is no built-in crystal ball for the software to know that you shipped something nor when it arrives on the customer's doorstep. You'll need to manually update the status as desired.

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

8 Oct 2009, 12:08 PM
#3
hedron avatar

hedron

Zen Follower

Join Date:
Feb 2009
Posts:
138
Plugin Contributions:
0

Re: PayPal IPN Refund still in pending status...

DrByte:

That is normal.
Zen Cart doesn't presently have built-in support for making alterations to an order once it's been placed.
Thus, a PayPal partial refund is seen only as a comment, and does not change the original order details at all.
Additionally, a PayPal refund will set the order back to "Pending" status. If you want it set to something else, you'll need to change that manually afterwards.

Right on.

DrByte:

There is no built-in crystal ball for the software to know that you shipped something nor when it arrives on the customer's doorstep. You'll need to manually update the status as desired.

LOL :smile:

Note: PayPal also allows you to create a shipping label... I was hoping the module was tracking all of that... I get it now.

Thank you.

17 Jan 2010, 9:02 AM
#4
cdelab avatar

cdelab

New Zenner

Join Date:
Aug 2007
Posts:
47
Plugin Contributions:
0

Re: PayPal IPN Refund still in pending status...

ZC V1.3.7

Hello,

There is a setting in admin Paypal options to set the order status to another value than "Pending" in case of refund from Paypal.

I try to change it to "processed" but it doesn't work...

It is a bug.. An option not yet implemented...

Thank's for your help

17 Jan 2010, 2:51 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: PayPal IPN Refund still in pending status...

No, it's not a bug. That feature does in fact work fine.
But the feature will only work if your IPN communications from PayPal is working properly. Otherwise your store will never be informed of the official order status change sent from PayPal's servers.
http://www.zen-cart.com/wiki/index.php/PayPal

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

28 Jan 2010, 11:22 PM
#6
cdelab avatar

cdelab

New Zenner

Join Date:
Aug 2007
Posts:
47
Plugin Contributions:
0

Re: PayPal IPN Refund still in pending status...

Hello,

Thanks for the advice.
I checked all configuration parameters and all seems to be fine.

The last refund I made gave the following result :

I get the refund information in the order history but the status was set to 1 even if in the paypal module configuration the "refund status" was set to 3.

Information in the history was :
PayPal status: Refunded @ 13:16:26 Jan 25, 2010 PST
Parent Trans ID:5E5134173F2586611
Trans ID:04Q43818SX897976U
Amount: -15.20 EUR

It seems that information get back back correctly from Paypal but the status is sticked to 1!???

29 Jan 2010, 1:16 AM
#7
ajeh avatar

ajeh

Oba-san

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

Re: PayPal IPN Refund still in pending status...

If you go to the Modules ... Payments ... and edit the PayPal IPN, what is the setting for:
Set Refund Order Status

The default is:
Pending [1]

Are these "full" refunds that you are doing or partial refunds?

And you are sure you see you have it set to 3 and your 3 is Refund?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Jan 2010, 3:40 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: PayPal IPN Refund still in pending status...

cdelab:

ZC V1.3.7
That's very old, and many bugfixes have taken place since then.

At the VERY least, you should be using the PayPal patch bundle for v1.3.7:
http://www.zen-cart.com/forum/showthread.php?t=56216
Better would be to upgrade to v1.3.7.1 or, even better, v1.3.8a. But the patch I just mentioned is likely to solve your present problem.

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