When receive payment is clicked, following occurs:

Warning: file_get_contents(sites/all/modules/ubercart/payment/uc_payment/uc_payment.js): failed to open stream: No such file or directory funktiossa _locale_parse_js_file() (rivi 1472 tiedostossa /home/biovasa/biovasa.fi/includes/locale.inc).

Warning: file_get_contents(sites/all/modules/ubercart/payment/uc_payment/uc_payment.js): failed to open stream: No such file or directory funktiossa drupal_build_js_cache() (rivi 4766 tiedostossa /home/biovasa/biovasa.fi/includes/common.inc).

Payment is received correctly though.

Comments

longwave’s picture

Status: Active » Postponed (maintainer needs more info)

What payment method are you using? uc_payment.js no longer exists, and is not included by any Ubercart code, but perhaps the payment method you are using is still trying to include it?

demoshane’s picture

uc_bank for bank transfer.

longwave’s picture

Project: Ubercart » Bank Transfer | Ubercart Payment
Version: 7.x-3.0-rc4 » 7.x-1.0-beta1
Component: Payment » Code
Status: Postponed (maintainer needs more info) » Active

uc_bank_transfer contains the following code which needs to be updated for Ubercart 7.x-3.0-rc4 and later:

drupal_add_js(drupal_get_path('module', 'uc_payment') . '/uc_payment.js');

xibun’s picture

thanks for pointing this out! fixed and committed to development version.

xibun’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

matt.rad’s picture

Issue summary: View changes

Could this please be added to the stable release for Drupal 7 for use on production sites?