There is a minor typo in the message text for the notauthed error message. Line 15.
drupal_set_message(t('You payment was declined by the bank...'), 'error');
drupal_set_message(t('Your payment was declined by the bank...'), 'error');

Comments

dwigglesworth’s picture

Also line 48.
'title' => 'Thankyou for your order',
Should be:
'title' => 'Thank you for your order',
As thank you is two separate words.

dwigglesworth’s picture

I think that it would be a good idea to allow a module admin page set these messages as variables. As clients will want to change the wording of these messages.

andymantell’s picture

I agree that it's a typo, but as a quick workaround without hacking the module, you can override anything that is passed through the t() function either in settings.php or using something like the stringoverrides module. See here:

http://drupal.org/node/522036

This applies to Drupal core, as well as any well written contrib module. In theory all hardcoded strings should be passed through t()...

leo pitt’s picture

Status: Active » Fixed

Initial bug report fixed in 6.x-1.5, creating a new issue for the other one

Status: Fixed » Closed (fixed)

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