Cant Delete Order paid with userpoints

tekad - February 12, 2009 - 22:06
Project:Ubercart Userpoints
Version:5.x-2.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I can't delete orders paid for with userpoints. I get the white screen of death!

I have the following error in error_log:
PHP Fatal error: Call to undefined function userpoints_ubercart_refund() in /var/www/vhosts/mediasourcerewards.com/httpdocs/sites/all/modules/userpoints_ubercart/uc_userpoints_payment.module on line 154, referer: http://www.mediasourcerewards.com/admin/store/orders/3/delete

Um, so, why should deleting orders refund to the customer? If I delete an order paid for with a credit card, it doesn't issue a refund to that customer.

#1

bmagistro - February 15, 2009 - 18:40
Status:active» fixed

this issue is fixed in the latest dev release. I missed renaming a function there. The purpose of the refund is if they pay with points to refund them. There is a similar refund in the awards system too that takes points we game them back when they cancel an order. These were added so that you wouldn't need to manually do that. If you are deleting orders that are older than xx days/months/etc I think that is bad practice.

#2

System Message - March 1, 2009 - 18:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.