Commerce::Payment has been sessionized and the API propagated :)

to where it's used.
This commit is contained in:
Colin Kuskie 2006-01-13 22:27:16 +00:00
parent 297b9f8487
commit 5c5c8075cf
6 changed files with 56 additions and 23 deletions

View file

@ -61,7 +61,7 @@ sub cancelTransaction {
# Recurring transactions can only have one item, so our items must be the first
$item = $self->getItems->[0];
$plugin = WebGUI::Commerce::Payment->load($self->gateway);
$plugin = WebGUI::Commerce::Payment->load($self->session, $self->gateway);
$plugin->cancelRecurringPayment({
id => $self->gatewayId,
transaction => $self,