-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
340 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,24 +16,24 @@ | |
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GENERAL PUBLIC LICENSE (GPL V3.0) | ||
* @version 1.0 | ||
* @link http://simplepartner.hu/online_fizetesi_szolgaltatas.html | ||
* | ||
* | ||
*/ | ||
|
||
namespace Iconocoders\OtpSimpleSdk\Source; | ||
namespace Source\V1; | ||
|
||
use Iconocoders\OtpSimpleSdk\Source\SimpleTransaction; | ||
use Source\V1\SimpleTransaction; | ||
|
||
/** | ||
* SimplePay BACK_REF | ||
* | ||
* | ||
* Processes information sent via HTTP GET on the returning site after a payment | ||
* | ||
* @category SDK | ||
|
@@ -69,7 +69,7 @@ class SimpleBackRef extends SimpleTransaction | |
"IN_PROGRESS", //card authorized on backref | ||
"PAYMENT_AUTHORIZED", //IPN | ||
"COMPLETE", //IDN | ||
"WAITING_PAYMENT", //waiting for WIRE | ||
"WAITING_PAYMENT", //waiting for WIRE | ||
); | ||
public $unsuccessfulStatus = array( | ||
"CARD_NOTAUTHORIZED", //unsuccessful transaction | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,18 +16,18 @@ | |
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GENERAL PUBLIC LICENSE (GPL V3.0) | ||
* @version 1.0 | ||
* @link http://simplepartner.hu/online_fizetesi_szolgaltatas.html | ||
* | ||
* | ||
*/ | ||
|
||
namespace Iconocoders\OtpSimpleSdk\Source; | ||
namespace Source\V1; | ||
|
||
/** | ||
* Base class for SimplePay implementation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,20 +16,20 @@ | |
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GENERAL PUBLIC LICENSE (GPL V3.0) | ||
* @version 1.0 | ||
* @link http://simplepartner.hu/online_fizetesi_szolgaltatas.html | ||
* | ||
* | ||
*/ | ||
|
||
namespace Iconocoders\OtpSimpleSdk\Source; | ||
namespace Source\V1; | ||
|
||
use Iconocoders\OtpSimpleSdk\Source\SimpleTransaction; | ||
use Source\V1\SimpleTransaction; | ||
|
||
/** | ||
* SimplePay Instant Delivery Information | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,24 +16,24 @@ | |
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GENERAL PUBLIC LICENSE (GPL V3.0) | ||
* @version 1.0 | ||
* @link http://simplepartner.hu/online_fizetesi_szolgaltatas.html | ||
* | ||
* | ||
*/ | ||
|
||
namespace Iconocoders\OtpSimpleSdk\Source; | ||
namespace Source\V1; | ||
|
||
use Iconocoders\OtpSimpleSdk\Source\SimpleTransaction; | ||
use Source\V1\SimpleTransaction; | ||
|
||
/** | ||
* SimpleIOS | ||
* | ||
* | ||
* Helper object containing information about a product | ||
* | ||
* @category SDK | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,20 +16,20 @@ | |
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GENERAL PUBLIC LICENSE (GPL V3.0) | ||
* @version 1.0 | ||
* @link http://simplepartner.hu/online_fizetesi_szolgaltatas.html | ||
* | ||
* | ||
*/ | ||
|
||
namespace Iconocoders\OtpSimpleSdk\Source; | ||
namespace Source\V1; | ||
|
||
use Iconocoders\OtpSimpleSdk\Source\SimpleBase; | ||
use Source\V1\SimpleBase; | ||
|
||
/** | ||
* SimplePay Instant Payment Notification | ||
|
@@ -160,4 +160,4 @@ protected function ipnPostDataCheck() | |
} | ||
return true; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,26 +16,26 @@ | |
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GENERAL PUBLIC LICENSE (GPL V3.0) | ||
* @version 1.0 | ||
* @link http://simplepartner.hu/online_fizetesi_szolgaltatas.html | ||
* | ||
* | ||
*/ | ||
|
||
namespace Iconocoders\OtpSimpleSdk\Source; | ||
namespace Source\V1; | ||
|
||
use Iconocoders\OtpSimpleSdk\Source\SimpleTransaction; | ||
use Source\V1\SimpleTransaction; | ||
|
||
/** | ||
* SimplePay Instant Refund Notification | ||
* | ||
* Sends Refund request via HTTP request | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
|
@@ -142,4 +142,4 @@ public function requestIrn($data = array()) | |
$this->debugMessage[] = 'IRN RESULT: NOT STRING'; | ||
return false; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,20 +16,20 @@ | |
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GENERAL PUBLIC LICENSE (GPL V3.0) | ||
* @version 1.0 | ||
* @link http://simplepartner.hu/online_fizetesi_szolgaltatas.html | ||
* | ||
* | ||
*/ | ||
|
||
namespace Iconocoders\OtpSimpleSdk\Source; | ||
namespace Source\V1; | ||
|
||
use Iconocoders\OtpSimpleSdk\Source\SimpleTransaction; | ||
use Source\V1\SimpleTransaction; | ||
|
||
/** | ||
* SimplePay LiveUpdate | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,23 +16,23 @@ | |
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* @category SDK | ||
* @package SimplePay_SDK | ||
* @author SimplePay IT <[email protected]> | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @copyright 2016 OTP Mobil Kft. | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GENERAL PUBLIC LICENSE (GPL V3.0) | ||
* @version 1.0 | ||
* @link http://simplepartner.hu/online_fizetesi_szolgaltatas.html | ||
* | ||
* | ||
*/ | ||
|
||
namespace Iconocoders\OtpSimpleSdk\Source; | ||
namespace Source\V1; | ||
|
||
use Iconocoders\OtpSimpleSdk\Source\SimpleBase; | ||
use Source\V1\SimpleBase; | ||
|
||
/** | ||
* | ||
* | ||
for SimplePay transaction handling | ||
* | ||
* @category SDK | ||
|
Oops, something went wrong.