I thought I explained why automated refunds were NOT implemented in the readme.. So let me write about it here..
First some clarifications:
The refunds functionality in the payment notification box (the "grey box") just above the product details section of the orders.php page is DEFAULT ZEN CART functionality.. It has NOTHING to do with Super Orders. The features in the payments notifications section differ if you are using Authorize.net versus PayPal, and if you want details on how these features work, they are outside the scope of the Super Orders support thread as this is default Zen Cart functionality which Super Orders DOES NOT touch.
Now that said, as you know Super Orders has a RUDIMENTARY accounting feature which allows a shop owner to "post" payments, refunds, and purchase orders against an order.. It DOES NOT interface with the payment processors in ANY way. Super Order payments are "automatically" posted when the payment is made via credit card (manual and via Authorize.net) or via PayPal. There is separate SUPER ORDERS code that creates these Super Orders payment records when one of these payment methods is used which works because there is code that can VALIDATE when a payment was received and create the corresponding Super Orders payment record. All other payment methods require that the Super Orders payment must be posted manually.
Refunds are different because the DEFAULT ZEN CART refunds functions in the payment notification box for PayPal is DIFFERENT than the DEFAULT ZEN CART refunds functions in the payment notification box for credit card processors like Authorize.net. PayPal refunds can be validated as there is data captured in the PayPal tables, refunds for other payment processors are not captured in a similar manner. Therefore when J Theed and others were working on Super Orders, we made a DESIGN DECISION to NOT implement automated Super Order refunds unless there was a means to do it for not only PayPal, but for other credit card payment processing modules as well.. This was done for 2 reasons:
- Super Orders should NOT be PayPal centric. It should be a tool ANY shopowner could benefit from and it seemed patently unfair that this benefit only be fully realized by PayPal shops.. PLUS there are shops who have BOTH PayPal and Authorize.net, and inconsistent functionality is NEVER a good design decision in any module.
- The process of issuing refunds via the payment processors (PayPal or other wise) is NOT automated, and so having one last MINOR step of entering a Super Orders refund record seemed like it was not a HUGE deal.. (and given that this is so-infrequently discussed apparently it hasn't been an issue)
the "solutions" posted by carlvt88 to enable automated Super orders refunds for PayPal are likely in one of the OLD Super Orders support threads.. or PM him directly..
Bookmarks