Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Checkout
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
1 Jul 2010 at 03:59 UTC
Updated:
3 Jan 2014 at 01:42 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedFrom the Rules API:
- callbacks: An array which allows to set specific function callbacks for the action. The default for each callback is the actions base appended by '_' and the callback name.
Comment #2
rszrama commentedComment #3
rszrama commentedCommitted: http://github.com/rszrama/drupalcommerce/commit/e690325c0438e976af2ed990...
Basically, I added the same $checkout_pane->base property that payment methods are using and construct a default array of callback functions using base + callback. This means I had to change some function names to *_form to *_checkout_form... because for some reason the callbacks weren't using the name of the callback. Who knows why? :-/