'Test Item 1',
'price' => 10000,
'quantity' => 1);
$item2 = array(
'name' => 'Test Item 2',
'price' => 30000,
'quantity' => 3);
$itemDetails = array(
$item1, $item2
);
$params = array(
'merchantCode' => $merchantCode,
'paymentAmount' => $paymentAmount,
'paymentMethod' => $paymentMethod,
'merchantOrderId' => $merchantOrderId,
'productDetails' => $productDetails,
'additionalParam' => $additionalParam,
'merchantUserInfo' => $merchantUserInfo,
'customerVaName' => $customerVaName,
'email' => $email,
'phoneNumber' => $phoneNumber,
'itemDetails' => $itemDetails,
'callbackUrl' => $callbackUrl,
'returnUrl' => $returnUrl,
'signature' => $signature,
'expiryPeriod' => $expiryPeriod
);
$params_string = json_encode($params);
$url = 'https://sandbox.duitku.com/webapi/api/merchant/v2/inquiry'; // Sandbox
// $url = 'https://passport.duitku.com/webapi/api/merchant/v2/inquiry'; // Production
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $params_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'Content-Length: ' . strlen($params_string))
);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
//execute post
$request = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if($httpCode == 200)
{
$result = json_decode($request, true);
header('location: '. $result['paymentUrl']);
echo "paymentUrl :". $result['paymentUrl'] . "
";
echo "merchantCode :". $result['merchantCode'] . "
";
echo "reference :". $result['reference'] . "
";
echo "vaNumber :". $result['vaNumber'] . "
";
echo "amount :". $result['amount'] . "
";
echo "statusCode :". $result['statusCode'] . "
";
echo "statusMessage :". $result['statusMessage'] . "
";
}
else
echo $httpCode;
?>
Existing Tourism in Indonesia
Minggu, 02 Juni 2019
Sabtu, 17 Mei 2014
Karimun Jawa, Indonesia
Karimun Jawa, Indonesia
Designated as a national marine park. Karimunjawa consists of many small islands, with the two main ones being Karimunjawa island and Kemujan Island, and the smaller ones being Menjangan Besar Island, and Menjangan Kecil Island and some other even smaller, uninhabited islands.
Karimunjawa and Kemujan Islands are like saimese twins. A short bridge connects the two and they may be thought of as just one island.
Karimunjawa Island is the larger and is quite hilly and steep in places. The highest peak is about 330 metres, with a dozen other peaks of 150 metres or more. Karimunjawa also has the larger population. The main, and virtually the only, village is situated on a point on the south-west coast of Karimunjawa Island. There are many beautiful beaches with clean, white sand. Much of the island has fringing reefs.
Kemujan Island has lower evevation and is undulating. The 900 metre airstrip (elev. 10 metres) is located on Kemujan Island, 18 km north-east of the village. There are some mangrove forrests fringing Kemujan Island in places. There are also fringing reefs in many locations around the island.
The smaller, outer islands are low lying and have pristine, white sandy beaches.
There are chartered planes from Semarang that fly from Semarang to Dewandaru Airport in Kemujan island. The airstrip has a sealed 900 metre runway.
There is a regular ferry that sails from Tanjung Emas (port) in Semarang and Jepara to Karimunjawa Island. about the Karimunjawa service. The slower, but comfortable, barge service operates out of Japara.
In Karimunjawa and Kemujan island, you can rent a car, motorcycle or even a bicycle. To get to the other near-by islands however, you need to rent a local boat for about Rp 200,000/day. Inter-island transportation can also be booked at the following link, where you can also view timetables.
Note: For one or two people, a motorbike would usually do, but if you're not familiar with motorcycles and would rather rent a car, it might be a good idea to book a rental car before you arrive in Karimunjawa, because there are very few cars on the island.
Bedugul Bali, Indonesia
Bedugul Bali, Indonesia
Bedugul is the name used to cover a large area of the central highlands of Bali around the villages of Bedugul itself, Candikuning, Pancasari, Pacung and Wanagiri(amongst others). This is an area of great natural beauty. The focus point of the area centres on the three crater lakes of Bratan (Beratan), Buyan and Tamblingan, and the nearby botanical gardens. The whole area is at an altitude of 700 metres or more, with the tallest mountain peaks above 2,000 metres, and it can be distinctly chilly here.
This article covers the Bedugul area as well as the village of Munduk to the west, and areas between Bedugul and Mount Batukaru to the south west. Mount Batukaru itself is covered in the Tabanan article.
Bedugul is located about 50 km north of Denpasar on a main route from South Bali to North Bali. The area is served by regular bemos which depart from Batubulan terminal in Denpasar in the south, and from Singaraja in the north. The Perama bus company [1] has no local office in Bedugul so if you planning go further from Bedugul, buy ticket in Kuta, Ubud or elsewhere(7/2013 there is a local Perama office). A common way for visitors to appreciate this beautiful mountain region is to hire a car and driver for the day from their base in South Bali. Make sure you have a driver who knows the area well (ask questions to determine this), and fix the price for the day in advance. Depending on the class of car, expect to pay between Rp 500,000 and 600,000 including petrol. Car parking fees and any entrance charges will be extra, and it is always appreciated if you offer to buy the driver lunch. Another option is to hire your own car and drive up here. Be sure to bring a good map though, and when in doubt, always ask locals for directions.
Langganan:
Postingan (Atom)