I get the following error when trying to checkout with the Test Gateway, Fatal error: Class 'uc_encryption_class' not found in /home/nuesol/public_html/drupal.com/sites/all/modules/uc_recurring/includes/uc_recurring.test_gateway.inc on line 51

Comments

trobey’s picture

Status: Active » Needs review
StatusFileSize
new691 bytes

Here is a patch that removes the error but could use more testing.

univate’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

nivelula’s picture

The issue still seems to be present in 7.x-2.0-alpha1. This time on line 75

mmilano’s picture

Status: Closed (fixed) » Needs work

Still got the error in alpha1 and alpha2. I confirmed the code in this patch is not updated in either alpha or dev.

For me, the error was showing up on all pages, and preventing cron from completing.

#1 does fix the error.

meishme’s picture

Stumbled upon this issue as well. As nivelula mentioned, the issue was still present in alpha2, but the error was on line 75 this time.

As a result, while using test_gateway and fast-forwarding my system-clock +1 month (monthly billings), it would create the same recurring order multiple times, all with "Pending" as the status. See here: http://screencast.com/t/8RQdTjgnkv

My solution was to implement the patch at #1, but in Line 75. Specifically, I replaced uc_encryption_class with UbercartEncryption. This seemed to have solved the problem– no more multiple orders. Now I get one order with a status of "Completed".

-enzo-’s picture

I did the same solution of #6, applying the path in #1. Please apply in next release

dafeder’s picture

Status: Needs work » Needs review
dafeder’s picture

StatusFileSize
new759 bytes

New patch for alpha2.

univate’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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