Adding the ITransact driver. Partly finished, not yet tested, but compiles.
This commit is contained in:
parent
01835737dc
commit
6edce95ba4
4 changed files with 438 additions and 17 deletions
|
|
@ -496,7 +496,8 @@ sub processTransaction {
|
|||
my $transaction = WebGUI::Shop::Transaction->create($self->session,{
|
||||
paymentMethod => $self,
|
||||
paymentAddress => $paymentAddress,
|
||||
});
|
||||
cart => $cart,
|
||||
});
|
||||
my ($success, $transactionCode, $statusCode, $statusMessage) = $self->processPayment;
|
||||
if ($success) {
|
||||
$transaction->completePurchase($cart, $transactionCode, $statusCode, $statusMessage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue