Forums / All Other Contributions/Addons / Refund or Partial Refund functionality? (problem with SuperOrders)

Refund or Partial Refund functionality? (problem with SuperOrders)

Locked

Started by bi11i on 1 Feb 2007, 10:40 PM · Views: 7,524

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
1 Feb 2007, 10:40 PM
#1
bi11i avatar

bi11i

Zen Follower

Join Date:
Jun 2005
Location:
Portland, OR
Posts:
157
Plugin Contributions:
0

Refund or Partial Refund functionality? (problem with SuperOrders)

When i attempt a refund or partial refund through the express module, I'm taken back to my orders screen and no refund is issued. I'm using v1.3.7 and am making sure to tick the 'Confim' box. The rest of the payment module appears to work wonderfully....

Any ideas?

2 Feb 2007, 1:16 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

There is usually a delay with PayPal of a few seconds or so ... so the screen redraw doesn't show the change until you look again ...

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!

2 Feb 2007, 5:36 PM
#3
bi11i avatar

bi11i

Zen Follower

Join Date:
Jun 2005
Location:
Portland, OR
Posts:
157
Plugin Contributions:
0

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

Ajeh:

There is usually a delay with PayPal of a few seconds or so ... so the screen redraw doesn't show the change until you look again ...Actually, the refund just never takes place. Can I do an email/debug and post the results to see what I'm doing wrong?

8 Feb 2007, 5:50 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

If you turn on debug logging, you'll get emails about the attempted refund, which could be useful ... but only if it's actually sending the refund request to PayPal.
You'll also get "GetTransactionDetails" emails every time you display an order in the Admin. These might be useful, but probably won't supply anything needed other than an error message saying why it cannot talk to PayPal ... which would be a cause for refunds to not work too.

.
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 Feb 2007, 4:55 PM
#5
bi11i avatar

bi11i

Zen Follower

Join Date:
Jun 2005
Location:
Portland, OR
Posts:
157
Plugin Contributions:
0

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

I turned this on and received the email, but it tells me basically nothing. Says nothing about the refund request. It could be possible that I've not the latest module? The upgrade on my cart was kind of half-assedly done by a third party.....

6 Nov 2007, 2:02 PM
#6
hmg avatar

hmg

New Zenner

Join Date:
Sep 2007
Posts:
33
Plugin Contributions:
0

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

I am having the same issue. I can go to Paypal directly and offer the partial refund but in the Zen-Admin, when I attempt to process the partial, I do not see it updating the order totals.

Any suggestions?

7 Nov 2007, 8:38 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

HMG:

I am having the same issue. I can go to Paypal directly and offer the partial refund but in the Zen-Admin, when I attempt to process the partial, I do not see it updating the order totals.

Any suggestions?

The "refund" option within Zen Cart's order page currently doesn't update the order's total. It only updates the order's status if the refund notification comes back from PayPal to confirm it.

If you want to manually update the order total, you'll have to use an addon such as super orders. It will not be automated, but at least you can make the alterations on-screen manually.

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

7 Nov 2007, 1:22 PM
#8
hmg avatar

hmg

New Zenner

Join Date:
Sep 2007
Posts:
33
Plugin Contributions:
0

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

Thank you for the suggestion. I did attempt to install this but keep getting an error.

1062 Duplicate entry 'CA' for key 2
in:
[INSERT INTO zen_so_payment_types VALUES (NULL, 1, 'CA', 'Cash');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

:oops:

7 Nov 2007, 1:48 PM
#9
hmg avatar

hmg

New Zenner

Join Date:
Sep 2007
Posts:
33
Plugin Contributions:
0

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

HMG:

Thank you for the suggestion. I did attempt to install this but keep getting an error.

1062 Duplicate entry 'CA' for key 2
in:
[INSERT INTO zen_so_payment_types VALUES (NULL, 1, 'CA', 'Cash');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

:oops:

I should have mentioned this error happens when I attempt to run the included SQL script with Super Orders.

16 Nov 2007, 4:20 PM
#10
enquirer66 avatar

enquirer66

Zen Follower

Join Date:
Sep 2007
Posts:
215
Plugin Contributions:
0

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

I am having the same issues with the refund and the SuperOrders - there must be a bug in this?? The refunds are definitely not being processed.

13 Oct 2010, 6:34 PM
#11
nohart avatar

nohart

Zen Follower

Join Date:
Apr 2010
Posts:
133
Plugin Contributions:
0

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

I found that if you re-install the original file includes\filenames.php this will allow you to get access to the original orders screen (the one that Super Orders replaces) through this screen you can do the refund :-)

I posted in the Super Orders thread and hopefully someone will figure out the code that is in error. I hope this helps in the mean time.

See: http://www.zen-cart.com/forum/showthread.php?p=946172#post946172 post 1883

13 Oct 2010, 9:19 PM
#12
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

nohart:

I found that if you re-install the original file includes\filenames.php this will allow you to get access to the original orders screen (the one that Super Orders replaces) through this screen you can do the refund :-)

I posted in the Super Orders thread and hopefully someone will figure out the code that is in error. I hope this helps in the mean time.

See: http://www.zen-cart.com/forum/showthread.php?p=946172#post946172 post 1883
Not sure what you mean by refunds "not working" in Super Orders. The PayPal notification data has not been modified in super_orders.php at all. It calls this data in the same way it is called by the orders.php.

This is the code which brings the PayPal payment notification data into orders.php

<?php
      if (method_exists($module, 'admin_notification')) {
?>
      <tr>
        <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <?php echo $module->admin_notification($oID); ?>
      </tr>
      <tr>
        <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
<?php
}
?>
```This same code is also present in super_orders.php..

I can confirm that the PayPal notifications in Super Orders works EXACTLY like in does in the default orders.. (based on many client sites runninf Super Orders) If your experience is different, then it would help to "fix" the problem to have more details (screen  shots would help)..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

14 Oct 2010, 1:21 AM
#13
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

To add to this:
I'm not sure if you are referring to the PayPal payment module refund functions (which is what this thread is about) or the Super Orders payments entry.. (purchase order, payment, and refunds)

If you are referring to the latter, the purchase order, payment & refunds entry feature in Super Orders does not auto create payment or refund entries when you receive a PayPal payment or process a refund through PayPal.. And BTW, this feature is ONLY available in Super Orders.. The payment, refunds, purchase order payment records is a feature unique to Super Orders.

As I previously stated, the PayPal payment notification data and it's functions (refund, capture, authorize) that is available in Super Orders uses the EXACT same code as the default Zen Cart orders.. IF you are not seeing the EXACT same PayPal notifications data in Super Orders as in the default orders then your super_orders.php file is either corrupted or has been modified in a way that has destroyed this code.

Lastly it should be noted that the two issues reported in this thread with regards to super orders were install and usage issues.. Not really bugs..

Nohart.. We're working on the next Super Orders release and if there really is a "bug" we'll be happy to look at it.. But without more information (screenshots would help) I'm fairly confident that the issue you are having is not a bug but some other issue.. If you can provide more information we will take a look.. But our testing and actual usage of Super Orders indicates that PayPal refunds work just fine.. (just to be sure I tested on a clients site today..)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

23 Oct 2010, 8:08 PM
#14
joyjoy avatar

joyjoy

Totally Zenned

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

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

It's you again Diva!

I'm having the same issue. When I click the do a full refund button on my order details page I'm taken the to the Ty Tracker default page. Did we ever determine what the problem was?

And just to clarify Super Orders does have this functionality working? When you select refund order it should generate the request to Paypal to refund the order?

Thank you.

24 Oct 2010, 2:27 AM
#15
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Refund or Partial Refund functionality? (problem with SuperOrders)

joyjoy:

It's you again Diva!

I'm having the same issue. When I click the do a full refund button on my order details page I'm taken the to the Ty Tracker default page. Did we ever determine what the problem was?

And just to clarify Super Orders does have this functionality working? When you select refund order it should generate the request to Paypal to refund the order?

Thank you.Please go to the Super Order support thread.. the remainder of this discussion was carried out over there including the details of the issue.. Just look for nohart's and my discussion..

BTW, your issue with Ty Tracker is NOT related to this at ALL.. That sounds like something you've done in your Ty Tracker integration..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.