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
Comment #1
longwaveWhat 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?
Comment #2
demoshane commenteduc_bank for bank transfer.
Comment #3
longwaveuc_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');Comment #4
xibun commentedthanks for pointing this out! fixed and committed to development version.
Comment #5
xibun commentedComment #7
matt.rad commentedCould this please be added to the stable release for Drupal 7 for use on production sites?