capture_payment on authorize processor for arb subs records payment twice

Create issue
Issue #1507 new
ricko created an issue

capture_payment method for recurring ARB subs should return the results of the method after looping process_recurring_subscriptions, otherwise it records payment again, after order has already been paid, and subsequently calls the order_success signal twice.

    if recurlist:
        success, results = self.process_recurring_subscriptions(recurlist, testing)
        if not success:
            self.log_extra('recur payment failed, aborting the rest of the module')
        #return results here, dont continue
        return results

Comments (0)

  1. Log in to comment