Commerce::Payment has been sessionized and the API propagated :)
to where it's used.
This commit is contained in:
parent
297b9f8487
commit
5c5c8075cf
6 changed files with 56 additions and 23 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue