if (isset($_POST["purchaseCategoryCode"])) { $purchaseCategoryCode = $_POST["purchaseCategoryCode"]; } if (isset($_POST["channel"])) { $channel = $_POST["channel"]; } if (isset($_POST["taxAmount"])) { $taxAmount = $_POST["taxAmount"]; } if (isset($_POST["serviceId"])) { $serviceId = $_POST["serviceId"]; } if (isset($_POST["productId"])) { $productId = $_POST["productId"]; } $endpoints = new ServiceEndpoints(); $paymentResponse = null; if (!isset($submit)) { $username = "******"; $password = "******"; $endpoint = $endpoints->getAmountReserveAdditionalEndpoint(); $endUserId = "tel:+123456789"; $referenceCode = "REF-12345"; $description = "Alien Invaders Game"; $currency = "USD"; $amount = 10.0; $referenceSequence = 2; $code = "C528"; $onBehalfOf = "Example Games Inc."; $purchaseCategoryCode = "Game"; $channel = "Wap";
if (isset($_POST["address"])) { $address = $_POST["address"]; } if (isset($_POST["requestedAccuracy"])) { $requestedAccuracy = $_POST["requestedAccuracy"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $address = "tel:+16035558278"; $requestedAccuracy = 1000; $username = "******"; $password = "******"; $endpoint = $endpoints->getLocationEndpoint(); } else { $endpoints->setLocationEndpoint($endpoint); $locator = new Locate($endpoints, $username, $password); $locationResponse = $locator->locateTerminal($address, $requestedAccuracy); } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>
if (isset($_POST["submit"])) { $submit = $_POST["submit"]; } if (isset($_POST["subscriptionId"])) { $subscriptionId = $_POST["subscriptionId"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $subscriptionId = "sub789"; $username = "******"; $password = "******"; $endpoint = $endpoints->getCancelMMSReceiptSubscriptionEndpoint(); } else { $endpoints->setCancelMMSReceiptSubscriptionEndpoint($endpoint); $receiver = new MMSRetrieve($endpoints, $username, $password); $mmsResponse = $receiver->cancelReceiptNotifications($subscriptionId); } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title> GSM World | OneAPI Toolkit
if (isset($_POST["senderAddress"])) { $senderAddress = $_POST["senderAddress"]; } if (isset($_POST["requestId"])) { $requestId = $_POST["requestId"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $senderAddress = "tel:+123456789"; $requestId = "123456"; $username = "******"; $password = "******"; $endpoint = $endpoints->getQueryMMSDeliveryEndpoint(); } else { $endpoints->setQueryMMSDeliveryEndpoint($endpoint); $sender = new MMSSend($endpoints, $username, $password); $mmsResponse = $sender->queryDeliveryStatus($senderAddress, $requestId); } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>
if (isset($_POST["clientCorrelator"])) { $clientCorrelator = $_POST["clientCorrelator"]; } if (isset($_POST["callbackData"])) { $callbackData = $_POST["callbackData"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $senderAddress = "tel:+123456789"; $notifyURL = "http://www.yourURL.here"; $callbackData = "doSomething()"; $clientCorrelator = "123456"; $username = "******"; $password = "******"; $endpoint = $endpoints->getSMSDeliverySubscriptionsEndpoint(); } else { $endpoints->setSMSDeliverySubscriptionsEndpoint($endpoint); $sender = new SMSSend($endpoints, $username, $password); $smsResponse = $sender->subscribeToDeliveryNotifications($senderAddress, $clientCorrelator, $notifyURL, $callbackData); } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
if (isset($_POST["registrationId"])) { $registrationId = $_POST["registrationId"]; } if (isset($_POST["maxBatchSize"])) { $maxBatchSize = $_POST["maxBatchSize"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $registrationId = "3456"; $maxBatchSize = 2; $username = "******"; $password = "******"; $endpoint = $endpoints->getRetrieveMMSEndpoint(); } else { $endpoints->setRetrieveMMSEndpoint($endpoint); $receiver = new MMSRetrieve($endpoints, $username, $password); $mmsResponse = $receiver->retrieveMessages($registrationId, $maxBatchSize); } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>
if (isset($_POST["messageId"])) { $messageId = $_POST["messageId"]; } if (isset($_POST["resFormat"])) { $resFormat = $_POST["resFormat"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $registrationId = "3456"; $messageId = "msg1"; $resFormat = "JSON"; $username = "******"; $password = "******"; $endpoint = $endpoints->getRetrieveMMSMessageEndpoint(); } else { $endpoints->setRetrieveMMSMessageEndpoint($endpoint); $receiver = new MMSRetrieve($endpoints, $username, $password); $mmsResponse = $receiver->retrieveMessageContent($registrationId, $messageId, $resFormat); } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head>
if (isset($_POST["purchaseCategoryCode"])) { $purchaseCategoryCode = $_POST["purchaseCategoryCode"]; } if (isset($_POST["channel"])) { $channel = $_POST["channel"]; } if (isset($_POST["taxAmount"])) { $taxAmount = $_POST["taxAmount"]; } if (isset($_POST["serviceId"])) { $serviceId = $_POST["serviceId"]; } if (isset($_POST["productId"])) { $productId = $_POST["productId"]; } $endpoints = new ServiceEndpoints(); $paymentResponse = null; if (!isset($submit)) { $username = "******"; $password = "******"; $endpoint = $endpoints->getAmountRefundEndpoint(); $endUserId = "tel:+123456789"; $referenceCode = "REF-12345"; $description = "Alien Invaders Game"; $currency = "USD"; $amount = 10.0; $code = "C100"; $clientCorrelator = "54321"; $originalServerReferenceCode = "ABC-123"; $onBehalfOf = "Example Games Inc."; $purchaseCategoryCode = "Game";
if (isset($_POST["purchaseCategoryCode"])) { $purchaseCategoryCode = $_POST["purchaseCategoryCode"]; } if (isset($_POST["channel"])) { $channel = $_POST["channel"]; } if (isset($_POST["taxAmount"])) { $taxAmount = $_POST["taxAmount"]; } if (isset($_POST["serviceId"])) { $serviceId = $_POST["serviceId"]; } if (isset($_POST["productId"])) { $productId = $_POST["productId"]; } $endpoints = new ServiceEndpoints(); $paymentResponse = null; if (!isset($submit)) { $username = "******"; $password = "******"; $endpoint = $endpoints->getAmountReserveEndpoint(); $endUserId = "tel:+123456789"; $referenceCode = "REF-12345"; $description = "Alien Invaders Game"; $currency = "USD"; $amount = 10.0; $code = "C528"; $clientCorrelator = "54321"; $onBehalfOf = "Example Games Inc."; $purchaseCategoryCode = "Game"; $channel = "Wap";
if (isset($_POST["notifyURL"])) { $notifyURL = $_POST["notifyURL"]; } if (isset($_POST["callbackData"])) { $callbackData = $_POST["callbackData"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $senderAddress = "tel:+123456789"; $address0 = "tel:+13500000991"; $address1 = "tel:+13500000992"; $message = "Hello World!"; $clientCorrelator = "123456"; $notifyURL = "http://application.example.com/notifications/DeliveryInfoNotification"; $senderName = "ACME Inc."; $callbackData = "callback-data-goes-here"; $username = "******"; $password = "******"; $endpoint = $endpoints->getSendMMSEndpoint(); } else { $endpoints->setSendMMSEndpoint($endpoint); $sender = new MMSSend($endpoints, $username, $password);
if (isset($_POST["clientCorrelator"])) { $clientCorrelator = $_POST["clientCorrelator"]; } if (isset($_POST["callbackData"])) { $callbackData = $_POST["callbackData"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $destinationAddress = "3456"; $notifyURL = "http://www.yoururl.here/notifications/DeliveryInfoNotification"; $criteria = "Vote"; $notificationFormat = "JSON"; $callbackData = "doSomething()"; $clientCorrelator = "12345"; $username = "******"; $password = "******"; $endpoint = $endpoints->getMMSReceiptSubscriptionsEndpoint(); } else { $endpoints->setMMSReceiptSubscriptionsEndpoint($endpoint); $receiver = new MMSRetrieve($endpoints, $username, $password); $mmsResponse = $receiver->subscribeToReceiptNotifications($destinationAddress, $notifyURL, $criteria, $notificationFormat, $clientCorrelator, $callbackData); }
if (isset($_POST["submit"])) { $submit = $_POST["submit"]; } if (isset($_POST["subscriptionId"])) { $subscriptionId = $_POST["subscriptionId"]; } if (isset($_POST["username"])) { $username = $_POST["username"]; } if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } $endpoints = new ServiceEndpoints(); if (!isset($submit)) { $subscriptionId = "sub789"; $username = "******"; $password = "******"; $endpoint = $endpoints->getCancelMMSDeliverySubscriptionEndpoint(); } else { $endpoints->setCancelMMSDeliverySubscriptionEndpoint($endpoint); $sender = new MMSSend($endpoints, $username, $password); $mmsResponse = $sender->cancelDeliveryNotifications($subscriptionId); } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title> GSM World | OneAPI Toolkit
if (isset($_POST["purchaseCategoryCode"])) { $purchaseCategoryCode = $_POST["purchaseCategoryCode"]; } if (isset($_POST["channel"])) { $channel = $_POST["channel"]; } if (isset($_POST["taxAmount"])) { $taxAmount = $_POST["taxAmount"]; } if (isset($_POST["serviceId"])) { $serviceId = $_POST["serviceId"]; } if (isset($_POST["productId"])) { $productId = $_POST["productId"]; } $endpoints = new ServiceEndpoints(); $paymentResponse = null; if (!isset($submit)) { $username = "******"; $password = "******"; $endpoint = $endpoints->getAmountReservationChargeEndpoint(); $endUserId = "tel:+123456789"; $referenceCode = "REF-12345"; $description = "Alien Invaders Game"; $currency = "USD"; $amount = 25.0; $referenceSequence = 3; $code = "C528"; $callbackURL = "http://localhost/callback.php"; $clientCorrelator = "54321"; $onBehalfOf = "Example Games Inc.";
if (isset($_POST["purchaseCategoryCode"])) { $purchaseCategoryCode = $_POST["purchaseCategoryCode"]; } if (isset($_POST["channel"])) { $channel = $_POST["channel"]; } if (isset($_POST["taxAmount"])) { $taxAmount = $_POST["taxAmount"]; } if (isset($_POST["serviceId"])) { $serviceId = $_POST["serviceId"]; } if (isset($_POST["productId"])) { $productId = $_POST["productId"]; } $endpoints = new ServiceEndpoints(); $paymentResponse = null; if (!isset($submit)) { $username = "******"; $password = "******"; $endpoint = $endpoints->getAmountChargeEndpoint(); $endUserId = "tel:+123456789"; $referenceCode = "REF-12345"; $description = "Alien Invaders Game"; $currency = "USD"; $amount = 10.0; $code = "C100"; $callbackURL = "http://localhost/callback.php"; $clientCorrelator = "54321"; $onBehalfOf = "Example Games Inc."; $purchaseCategoryCode = "Game";
if (isset($_POST["password"])) { $password = $_POST["password"]; } if (isset($_POST["endpoint"])) { $endpoint = $_POST["endpoint"]; } if (isset($_POST["endUserId"])) { $endUserId = $_POST["endUserId"]; } if (isset($_POST["referenceCode"])) { $referenceCode = $_POST["referenceCode"]; } if (isset($_POST["referenceSequence"])) { $referenceSequence = $_POST["referenceSequence"]; } $endpoints = new ServiceEndpoints(); $paymentResponse = null; if (!isset($submit)) { $username = "******"; $password = "******"; $endpoint = $endpoints->getAmountReservationReleaseEndpoint(); $endUserId = "tel:+123456789"; $referenceCode = "REF-12345"; $referenceSequence = 4; } else { $endpoints->setAmountReservationReleaseEndpoint($endpoint); $reservation = new Reservation($endpoints, $username, $password); $paymentResponse = $reservation->releaseReservation($endUserId, $referenceCode, $referenceSequence); } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">