-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathios.php
More file actions
19 lines (15 loc) · 792 Bytes
/
Copy pathios.php
File metadata and controls
19 lines (15 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
require_once("sdk/config.php");
require_once('sdk/SimplePayment.class.php');
$orderCurrency = (isset($_REQUEST['currency'])) ? $_REQUEST['currency'] : 'HUF';
$orderexternalId = (isset($_REQUEST['order_ref'])) ? $_REQUEST['order_ref'] : 'N/A';
$ios = new SimpleIos($config, $orderCurrency, $orderexternalId);
$ios->errorLogger();
$message = 'DATE:<b>' . $ios->status['ORDER_DATE'] . '</b><br/>';
$message .= 'PAYREFNO:<b>' . $ios->status['REFNO'] . '</b><br/>';
$message .= 'ORDER_ID:<b>' . $ios->status['REFNOEXT'] . '</b><br/>';
$message .= 'STATUS:<b>' . $ios->status['ORDER_STATUS'] . '</b><br/>';
$message .= 'PAYMENT METHOD:<b>' . $ios->status['PAYMETHOD'] . '</b><br/>';
$message .= 'HASHTEXT:<b>' . $ios->status['HASH'] . '</b><br/>';
echo $message;
?>