in uc_credit.module

    if (strlen($form['cc_policy']) > 0) {
      $output .= '<tr><td colspan="2">'. variable_get('uc_credit_policy', '')
                .'</td></tr>';

That variable is not set until the settings page is saved, so therefor no message shows up until someone wanders to that page and hits save.

This has never come up before because you need to visit and save that page to enter the keys folder path before the credit card card form would even show. We are setting the keys folder path in a .install file and thus that form never gets saved setting the variable.

Patch coming soon

Comments

crashtest_’s picture

Status: Active » Needs review
StatusFileSize
new715 bytes

I am not really sure the best way to test this, but I believe it works from what I could test.

Island Usurper’s picture

Status: Needs review » Needs work

I expect it works too, when you're setting the keys folder on install. However, I'm not so sure about adding the description class to it. That kind of means we should do that for all of the payment methods. I guess that's not a big deal as far as it goes, but it doesn't really belong in this patch.

Island Usurper’s picture

Status: Needs work » Fixed
StatusFileSize
new717 bytes

Committed this patch without the description class.

Status: Fixed » Closed (fixed)

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