Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
- <title>Bi Çantam | Abiye Çanta, Gece Çantası, Bayan Çanta, Kadın Çanta</title>
- <script src="https://secure.payu.com.tr/openpayu/v2/client/jquery-1.7.2.js"></script>
- <script src="https://secure.payu.com.tr/openpayu/v2/client/json2.js"></script>
- <script src="https://secure.payu.com.tr/openpayu/v2/client/openpayu-2.0.js"></script>
- <script src="https://secure.payu.com.tr/openpayu/v2/client/plugin-payment-2.0.js"></script>
- <script src="https://secure.payu.com.tr/openpayu/v2/client/plugin-installment-2.0.js"></script>
- <link rel="stylesheet" type="text/css" href="https://secure.payu.com.tr/openpayu/v2/client/openpayu-builder-2.0.css" />
- <style type="text/css">
- body{padding:0;margin:0;overflow:hidden;width:500px;height:500px;background:url(images/cardfinans_back.jpg) center center no-repeat;}
- #kredi_karti_odeme{padding:70px 10px 10px 10px;font:12px arial;}
- #kredi_karti_odeme form{margin:0;padding:0;}
- #kredi_karti_odeme p{display:block;margin:0;padding:4px 0;color:#444;clear:both;}
- #kredi_karti_odeme p label{padding-top:6px;float:left;width:170px;font-family:arial;font-weight:bold;font-size:12px;}
- #kredi_karti_odeme form p select{padding:3px;font-size:14px;font-weight:bold;color:#444;margin:0 2px 0 2px;border:1px solid silver;}
- #kredi_karti_odeme form p input{margin-left:2px;padding:3px !important;font-size:14px;font-weight:bold;color:#444;}
- div.card{width:250px;height:25px;border:1px solid silver;margin-left:2px;padding:3px !important;font-size:14px;font-weight:bold;color:#444;cursor:text;}
- #payu-card-cvv-placeholder{width:50px !important;text-align:center;}
- #kredi_karti_odeme em.kredi_karti_hata{font-size:14px;font-weight:bold;color:red;}
- #cv2_help{position:absolute;display:none;border:1px solid black;margin-left:145px;margin-top:-140px;padding:0;}
- #cv2_help img{display:block;}
- #kullanici_bilgileri{padding-bottom:10px;border-bottom:1px solid #efefef;margin:10px 0;}
- #kullanici_bilgileri div{line-height:140%;font-size:13px;color:#444;}
- #kullanici_bilgileri div span{font-weight:bold;text-transform:capitalize;}
- div.buttonlar{text-align:center;padding:20px 0 0 0;}
- div.buttonlar input{cursor:pointer;padding:5px;margin:0 3px;font-size:13px;overflow:visible;font-weight:bold;border:1px solid silver;background:url(images/buton_back.gif) left top repeat-x;}
- #payu-preloader-overlay {width:100% !important;}
- </style>
- </head>
- <body scroll="no">
- <div id="kredi_karti_odeme">
- <div id="kullanici_bilgileri">
- <div>Sn. <span>asdasd asdasd,</span><br/><br/>Kredi kartınızdan <span>39,99 TL </span>(13,33 TL X 3 taksit) tutarında çekim işlemi yapılacaktır. İşlemin gerçekleşmesini istiyorsanız; aşağıdaki ödeme formunu eksiksiz olarak doldurup, siparişi tamamlayınız.</div>
- </div>
- <div id="error" style="display:none;background:red;margin:5px 0;border:1px solid darkred;">
- <div style="padding:5px;font:bold 13px arial;color:#fff;"></div>
- </div>
- <form method="post" name="sanalpos_odeme_form" id="sanalpos_odeme_form" autocomplete="off" >
- <input type="hidden" class="card" id="payu-card-installment" value="3" />
- <p>
- <label for="payu-card-cardholder" style="padding-top:10px;">Kart Üzerindeki İsim :</label>
- <div style="float:left;"><div id="payu-card-cardholder-placeholder" class="card" ></div></div>
- </p>
- <p>
- <label for="payu-card-number" style="padding-top:10px;">Kart Numarası :</label>
- <div style="float:left;"><div id="payu-card-number-placeholder" class="card" ></div></div>
- </p>
- <p>
- <label for="payu-card-expm">Son Kullanma Tarihi (Ay/Yıl) :</label>
- <select id="payu-card-expm" style="width:50px;">
- <option value="01">01</option>
- <option value="02">02</option>
- <option value="03">03</option>
- <option value="04">04</option>
- <option value="05">05</option>
- <option value="06">06</option>
- <option value="07">07</option>
- <option value="08">08</option>
- <option value="09">09</option>
- <option value="10">10</option>
- <option value="11">11</option>
- <option value="12">12</option>
- </select>
- <select id="payu-card-expy" style="width:70px;">
- <option value="2012">2012</option>
- <option value="2013">2013</option>
- <option value="2014">2014</option>
- <option value="2015">2015</option>
- <option value="2016">2016</option>
- <option value="2017">2017</option>
- <option value="2018">2018</option>
- <option value="2019">2019</option>
- <option value="2020">2020</option>
- <option value="2021">2021</option>
- <option value="2022">2022</option>
- </select>
- </p>
- <p>
- <label for="payu-card-cvv-placeholder" style="padding-top:10px;">CV2 (Güvenlik Numarası) <a href="javascript:void(0);" style="text-decoration:none;font-weight:bold;color:red;font-size:13px;">?</a> :</label>
- <div style="float:left;"><div id="payu-card-cvv-placeholder" class="card" ></div></div>
- <div style="clear:both;"></div>
- </p>
- <div class="buttonlar">
- <input type="button" value="Vazgeç" onclick="window.top.SexyLightbox.close();" />
- <input type="submit" value="Ödemeyi Tamamla" id="kredi_karti_gonder_btn" />
- </div>
- </form>
- <form method="post" name="sanalpos_odeme_form2" id="sanalpos_odeme_form2" autocomplete="off" >
- <input type="hidden" name="islem" value="890090001" />
- <input type="hidden" name="tutar" value="39,99" />
- </form>
- <script>
- $(function() {
- OpenPayU.Payment.setup({id_account : "BICANTAM",orderCreateRequestUrl:"payu_ocr.asp"});
- $('#kredi_karti_gonder_btn').click(function() {
- var Comment = "";
- OpenPayU.Builder.addPreloader('<span style="font:bold 13px arial;">Lütfen Bekleyin.</span>');
- OpenPayU.Payment.create({
- orderCreateRequestData : {
- Email : 'asd@asd.co',
- FirstName : 'asdasd',
- LastName : 'asdasd',
- TotalAmount : '39.99',
- MerchantPosId: 'BICANTAM',
- ExtOrderId: '186156333401'
- }
- },function(response) {
- if (response.Status.StatusCode == 'OPENPAYU_SUCCESS') {
- $("#sanalpos_odeme_form2").submit();
- } else {
- if (response.Status.Code == "10900"){
- Comment = "Merchant başlığındaki imza yanlış gönderilmiş."
- } else if (response.Status.Code == "10910"){
- Comment = "Tüccar Payu sisteminde bulunamadı."
- } else if (response.Status.Code == "10920"){
- Comment = "XML belgesi bulunamadı veya boş."
- } else if (response.Status.Code == "10901"){
- Comment = "İmza için geçersiz algoritma."
- } else if (response.Status.Code == "10902"){
- Comment = "İmza doğrulanmadı."
- } else if (response.Status.Code == "10801"){
- Comment = "OrderCreateRequest bölgesindeki Buyer düğümü geçersiz veya eksik."
- } else if (response.Status.Code == "10802"){
- Comment = "Alıcı e-posta geçersiz veya eksik."
- } else if (response.Status.Code == "10803"){
- Comment = "Alıcı adı geçersiz veya eksik."
- } else if (response.Status.Code == "10804"){
- Comment = "Alıcı soyadı geçersiz veya eksik."
- } else if (response.Status.Code == "10805"){
- Comment = "Geçersiz para birimi."
- } else if (response.Status.Code == "10850"){
- Comment = "OrderCreateRequest içinde geçersiz fatura bilgileri."
- } else if (response.Status.Code == "10870"){
- Comment = "OrderCreateRequest içinde geçersiz teslimat bilgileri."
- } else if (response.Status.Code == "10820"){
- Comment = "OrderCreateRequest içinde geçersiz ürün bilgileri."
- } else if (response.Status.Code == "10821"){
- Comment = "OrderCreateRequest içinde ürün bilgileri eksik."
- } else if (response.Status.Code == "10830"){
- Comment = "OrderCreateRequest içindeki bir üründe ge?ersiz bilgi var."
- } else if (response.Status.Code == "10701"){
- Comment = "Bu bir Kredi kartı ödeme yöntemi değil."
- } else if (response.Status.Code == "10702"){
- Comment = "Tüccar bu ödeme yöntemi desteklemiyor."
- } else if (response.Status.Code == "10710"){
- Comment = "Merchant Gateway yüklenemedi."
- } else if (response.Status.Code == "10720"){
- Comment = "Bazı kart alanları hatalı yada eksik."
- } else if (response.Status.Code >= "10500" || response.Status.Code <= "10599"){
- Comment = "Ödeme bazı iç nedenlerden dolayı başarısız oldu."
- } else if (response.Status.Code == "10751"){
- Comment = "Bankadan geçersiz yanıt alındı."
- } else if (response.Status.Code == "10752"){
- Comment = "Bu sipariş daha önce verilmiş."
- } else if (response.Status.Code == "3"){
- Comment = "Ödeme 3D Secure ile devam edecektir. Süreç OpenPayU tarafından otomatik olarak izlenir."
- } else if (response.Status.Code == "10101"){
- Comment = "Bu sipariş bu taksit sayısı ile ödenemez. Bu kart ile tek seferde ödemek için deneme yapabilirsiniz."
- } else if (response.Status.Code == "10102"){
- Comment = "Bu ödeme için kullanılan kart bir kredi kartı değil. Bu kart ile tek seferde ödemek için deneme yapabilirsiniz."
- } else if (response.Status.Code == "10103"){
- Comment = "Bu Kart tüccar veya sipariş tarafından desteklenmeyen bir sadakat programına kayıtlı. Bu kart ile tek seferde ödemek için deneme yapabilirsiniz."
- } else if (response.Status.Code == "0"){
- Comment = "Ödeme başarıyla alındı."
- }else{
- Comment = "Tanımsız Hata."
- }
- $('#error div').html("Hata : " + Comment).parent().delay(500).slideUp("fast").delay(100).slideDown("normal");
- }
- OpenPayU.Builder.removePreloader();
- return false;
- });
- return false;
- });
- }());
- </script>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement