1
0

Added base plugin, in preperation for the API

This commit is contained in:
2017-02-19 11:19:42 +01:00
parent 64d7fa13d7
commit 3e0d67caca
8 changed files with 181 additions and 7 deletions

View File

@ -0,0 +1,21 @@
<?php
namespace Omnipay\Inforbank\Message;
class CompletePurchaseResponse extends PurchaseResponse
{
public function isSuccessful()
{
return ($this->data->transaction->status === "Success");
}
public function isRedirect()
{
return false;
}
public function getStatus()
{
return $this->data->transaction->status;
}
}