Needs work
Project:
Ubercart Payment Method Adjustments
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2009 at 23:03 UTC
Updated:
19 Jan 2010 at 21:43 UTC
problem:
- if a payment method is flagged as method, which is not available in checkout (eg. payment method "other") and despite this a adjustment amount is set for the method (in form 'uc_payment_methods_form'), the method appears inclomplete in checkout page of the order. All information except adjustment amount is missing.
proposal:
- when changing 'uc_cart_checkout_form' in hook_form_alter(), beside check for
.....variable_get('uc_payment_method_'. $method['id'] .'_adjustment', '');
a check for $method['checkout'] (or even the corresponding storage in $conf-array) has to be processed for adding any information to form.
Comments
Comment #1
TS79 commented