Witam, mam problem z webbrowserem

0

Chce zrobić sobie aplikacje która ułatwi mi kupywanie gier na pewnym serwisie noi wszystko spoko zrobiłem 80% i na samym końcu gdzie chce wpisać numer karty ważność i cvv nie mogę tego zrobić mam nadzieje ze to jest do zrobienia bo inaczej cały misterny plan XD

to jest kod inputa:

<input id="F1009" class="ORB_INPUT" type="text" aria-required="true" aria-describedby="ERRORMESSAGE_F1009 cc_example" name="CREDITCARDNUMBER" size="20" maxlength="19" autocomplete="off" value=""><span id="cc_example" style="display:none">(E.g.: 4200 1111 2222 3333)</span><input id="F1009_OBFUSCATED" class="ORB_INPUT" type="hidden" name="CREDITCARDNUMBER_OBFUSCATED" size="20" maxlength="19" value=""><input id="F1009_CLEAR" class="ORB_INPUT" type="hidden" name="CREDITCARDNUMBER_CLEAR" size="20" maxlength="19" value="">

a to całej tabelki formy w której jest nr karty cvv data:

<body id="pageGetMissingData" onload="init();">

<div id="MISSING">
<div class="ORB_INSTRUCTIONS">Szczegółowe dane płatności:</div>
<div class="ORB_INSTRUCTIONTEXT"><span></span></div>
<form id="formGetMissingData" method="post" action="/orb/orb;jsessionid=809ACECDC02AFE82403064012B9EBEC3.node2" onsubmit="return doContinuePayment();">
<input type="hidden" name="ACTION" id="ACTION" value="DO_CONTINUE">
<input type="hidden" name="PAYMENTPRODUCTID" id="PAYMENTPRODUCTID" value="1">
<input type="hidden" name="REF" id="REF" value="000000830000880436130000100005">

<table id="tableMissingFields" class="ORB_TABLE_FIELDS">

<tbody><tr id="FIELD_F1009" class="ORB_TR_FIELD" style="display: '';">
<td class="ORB_TD_FIELDELEMENT">
<span id="LABEL_F1009"><label for="F1009">Nr karty:</label></span>
<br><input id="F1009" class="ORB_INPUT" type="text" aria-required="true" aria-describedby="ERRORMESSAGE_F1009 cc_example" name="CREDITCARDNUMBER" size="20" maxlength="19" autocomplete="off" value=""><span id="cc_example" style="display:none">(E.g.: 4200 1111 2222 3333)</span><input id="F1009_OBFUSCATED" class="ORB_INPUT" type="hidden" name="CREDITCARDNUMBER_OBFUSCATED" size="20" maxlength="19" value=""><input id="F1009_CLEAR" class="ORB_INPUT" type="hidden" name="CREDITCARDNUMBER_CLEAR" size="20" maxlength="19" value="">

<span id="MANDATORY_F1009" for="F1009">*</span>
<br>
<div id="ERROR_F1009" style="display:none">
<table class="ORB_TABLE_ERRORMESSAGE" cellpadding="0" cellspacing="0" border="0">
<tbody><tr class="ORB_TR_ERRORROW">
<td class="ORB_TD_ERRORLEFT" width="15">!</td>
<td id="ERRORMESSAGE_F1009" class="ORB_TD_ERRORRIGHT">Please enter the card number correctly before submitting your details</td>
</tr></tbody></table></div></td></tr>

<tr id="FIELD_F1010" class="ORB_TR_FIELD" style="display: '';">
<td class="ORB_TD_FIELDELEMENT">
<span id="LABEL_F1010"><label for="F1010">Data ważności</label></span>
<br><select id="F1010_MM" class="ORB_SELECT" aria-required="true" aria-describedby="ERRORMESSAGE_F1010" name="EXPIRYDATE_MM" aria-label="Data ważności">
<option value="">Miesiąc</option>
<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="F1010_YY" class="ORB_SELECT" aria-required="true" aria-describedby="ERRORMESSAGE_F1010" name="EXPIRYDATE_YY" aria-label="Data ważności">
<option value="">Rok</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option></select><input id="F1010" type="hidden" name="EXPIRYDATE" value="">

<span id="MANDATORY_F1010" for="F1010">*</span>
<br>
<div id="ERROR_F1010" style="display:none">
<table class="ORB_TABLE_ERRORMESSAGE" cellpadding="0" cellspacing="0" border="0">
<tbody><tr class="ORB_TR_ERRORROW">
<td class="ORB_TD_ERRORLEFT" width="15">!</td>
<td id="ERRORMESSAGE_F1010" class="ORB_TD_ERRORRIGHT">Please enter correctly your expiry date</td>
</tr></tbody></table></div></td></tr>

<tr id="FIELD_F1136" class="ORB_TR_FIELD" style="display: '';">
<td class="ORB_TD_FIELDELEMENT">
<span id="LABEL_F1136"><label for="F1136">Kod CVV</label></span>
<br><input id="F1136" class="ORB_INPUT" type="text" aria-required="true" aria-describedby="ERRORMESSAGE_F1136" name="CVV" size="3" maxlength="4" autocomplete="off" value=""><input id="F1136_OBFUSCATED" class="ORB_INPUT" type="hidden" name="CVV_OBFUSCATED" size="3" maxlength="4" value=""><input id="F1136_CLEAR" class="ORB_INPUT" type="hidden" name="CVV_CLEAR" size="3" maxlength="4" value=""><a href="#" class="Normal" onclick="javascript: openCVVHelpWindow('/CVVHelp.jsp;jsessionid=809ACECDC02AFE82403064012B9EBEC3.node2'); return false;">Co to jest kod CVV?</a>

<span id="MANDATORY_F1136" for="F1136">*</span>
<br>
<div id="ERROR_F1136" style="display:none">
<table class="ORB_TABLE_ERRORMESSAGE" cellpadding="0" cellspacing="0" border="0">
<tbody><tr class="ORB_TR_ERRORROW">
<td class="ORB_TD_ERRORLEFT" width="15">!</td>
<td id="ERRORMESSAGE_F1136" class="ORB_TD_ERRORRIGHT">Please enter correctly your CVV</td>
</tr></tbody></table></div></td></tr>

</tbody></table>
<div class="ORB_BUTTONELEMENT">
<input id="btnSubmit" type="submit" value="Dalej" class="ORB_BUTTON" onclick="return onSubmit(false);">
<span class="ORB_BUTTONHELPTEXT"><label for="btnSubmit"></label></span>
<input id="btnCancel" type="button" value="Anuluj" class="ORB_BUTTON" onclick="return returnToMerchant('formGetMissingData');">
<span class="ORB_BUTTONHELPTEXT"><label for="btnCancel">Kliknij ten przycisk, by wrócić do zakupów.</label></span>
</div>

</form></div>

<div class="hidden" id="PROGRESS">
<table>
<tbody><tr><td>Proszę czekać, płatność w trakcie realizacji</td></tr>
<tr>
<td>
<img src="/orb/objects/4000003097_20131220172414.GIF" alt="Your payment is now being processed...">
</td>
</tr>
</tbody></table>
</div>

</body>
0

zamykam

0

Witam, coś fajnego odkryłem wklejając do to konsoli podczas platnosci: document.querySelector('input[name="CREDITCARDNUMBER"]').value = 'test'; wkleja a tak
HtmlElementCollection htmlcol2 = webBrowser1.Document.GetElementsByTagName("input");
for (int i = 0; i < htmlcol2.Count; i++)
{
if (htmlcol2[i].OuterHtml.Contains("CREDITCARDNUMBER"))
{
htmlcol2[i].SetAttribute("value", "123");
}
}

już nie działa dziwne XD

0

Problemem jest iframe chciał bym wypełnić textem inputa przez name w iframe

1 użytkowników online, w tym zalogowanych: 0, gości: 1, botów: 0