When using new admin template sendcloud is not working

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

When using new admin template sendcloud is not working

Postby magic-sessions@.....nl » Sat Dec 31, 2022 2:58 pm

When I turn on the new Admin template in Virtuemart 4 then the sendcloud module stops working.

It seems that when the new Admin template is turned on then any form tag that is added by a plugin is filtered out.

Normally the rupostel_sendcloud.php file returns this

$html = '<form action="index.php" method="post" id="adminFormSendCloud" name="adminFormSendCloud">
<fieldset style="float: left; clear:both;"><legend>SendCloud</legend>'.$msg_u.$ret.'<div id="sendcloud_form" >'.$dobierka.$submit.'</div></fieldset>

<input type="hidden" name="task" value="edit" />
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="view" value="orders" />
<input type="hidden" name="virtuemart_order_id" value="'.(int)$order_id.'" />

Is there a way to solve this?

But when I look in the order page I see this


<td colspan="4">
<fieldset style="float: left; clear:both;">
<legend>SendCloud</legend>
<select name="sendcloud_service" id="selH1E" style="display: none;" class="chzn-done">
<option value="9">DHLForYou</option>
<option value="16">DHL Europlus</option>
<option value="115">DHLForYou to ParcelShop</option>
<option value="117">DHLForYou Drop Off</option>
<option value="340">DHLForYou Letterbox</option>
<option value="356">DHL Parcel Connect 15-31.5kg</option>
<option value="357">DHL Parcel Connect 5-15kg</option>
<option value="358">DHL Parcel Connect 2-5kg</option>
<option value="359">DHL Parcel Connect 0-2kg</option>
<option value="492">DHLForYou Letterbox Drop Off</option>
<option value="1315">DHL Parcel Connect 0-2kg to ParcelShop</option>
<option value="1316">DHL Parcel Connect 2-5kg to ParcelShop</option>
<option value="1317">DHL Parcel Connect 5-15kg to ParcelShop</option>
<option value="1318">DHL Parcel Connect 15-31.5kg to ParcelShop</option>
<option value="1344">DHLForYou with signature, home address only</option>
<option value="8020">DHLForYou Drop Off - Agecheck 18+</option>
<option value="8021">DHLForYou - Agecheck 18+</option>
<option value="8022">DHLForYou with evening delivery - Agecheck 18+</option>
<option value="1" selected="selected">PostNL Standard 0-23kg</option>
<option value="2">PostNL with signature 0-23kg</option>
<option value="3">PostNL abroad 0-23kg</option>
<option value="5">PostNL signature on delivery + home address only 0-23kg</option>
<option value="6">PostNL home address only 0-23kg</option>
<option value="7">PostNL service point 0-23kg</option>
<option value="39">PostNL Mailbox 0-2kg</option>
<option value="84">PostNL GlobalPack</option>
<option value="97">PostNL evening delivery + signature on delivery + home address only 0-23kg</option>
<option value="98">PostNL evening delivery + home address only 0-23kg</option>
<option value="273">PostNL Standard 23-31.5kg</option>
<option value="291">PostNL evening delivery + home address only 23-31.5kg</option>
<option value="292">PostNL evening delivery + signature on delivery + home address only 23-31.5kg</option>
<option value="293">PostNL service point 23-31.5kg</option>
<option value="294">PostNL home address only 23-31.5kg</option>
<option value="295">PostNL signature on delivery + home address only 23-31.5kg</option>
<option value="297">PostNL with signature 23-31.5kg</option>
<option value="2242">PostNL abroad NMG</option>
<option value="3802">PostNL Pakket Nederland België - Home Address Only</option>
<option value="3804">PostNL Pakket Nederland België to Servicepoint</option>
<option value="4171">PostNL Pakket Nederland België - Home Address Only 23-31.5kg</option>
<option value="4204">PostNL Pakket Nederland België Signature + Insurance 0-23kg</option>
<option value="4205">PostNL Pakket Nederland België Signature + Insurance 23-31.5kg</option>
<option value="68">DPD Home 0-31.5kg</option>
<option value="109">DPD Pickup Point</option>
<option value="3357">DPD Home 0-31.5kg - incoterm DAP NP</option>
<option value="4202">DPD Home 0-31.5kg + Agecheck 18</option>
<option value="4203">DPD Classic 0-31.5kg + Agecheck 18</option>
<option value="8">Unstamped letter</option>
</select>
<div id="selH1E_chzn" class="chzn-container chzn-container-single" style="width: 220px;">
<a href="javascript:void(0)" class="chzn-single">
<span>PostNL Standard 0-23kg</span>
<div><b></b></div>
</a>
<div class="chzn-drop" style="left: -9000px; width: 218px; top: 28px;">
<div class="chzn-search"><input type="text" autocomplete="off" style="width: 183px;"></div>
<ul class="chzn-results">
<li id="selH1E_chzn_o_0" class="active-result" style="">DHLForYou</li>
<li id="selH1E_chzn_o_1" class="active-result" style="">DHL Europlus</li>
<li id="selH1E_chzn_o_2" class="active-result" style="">DHLForYou to ParcelShop</li>
<li id="selH1E_chzn_o_3" class="active-result" style="">DHLForYou Drop Off</li>
<li id="selH1E_chzn_o_4" class="active-result" style="">DHLForYou Letterbox</li>
<li id="selH1E_chzn_o_5" class="active-result" style="">DHL Parcel Connect 15-31.5kg</li>
<li id="selH1E_chzn_o_6" class="active-result" style="">DHL Parcel Connect 5-15kg</li>
<li id="selH1E_chzn_o_7" class="active-result" style="">DHL Parcel Connect 2-5kg</li>
<li id="selH1E_chzn_o_8" class="active-result" style="">DHL Parcel Connect 0-2kg</li>
<li id="selH1E_chzn_o_9" class="active-result" style="">DHLForYou Letterbox Drop Off</li>
<li id="selH1E_chzn_o_10" class="active-result" style="">DHL Parcel Connect 0-2kg to ParcelShop</li>
<li id="selH1E_chzn_o_11" class="active-result" style="">DHL Parcel Connect 2-5kg to ParcelShop</li>
<li id="selH1E_chzn_o_12" class="active-result" style="">DHL Parcel Connect 5-15kg to ParcelShop</li>
<li id="selH1E_chzn_o_13" class="active-result" style="">DHL Parcel Connect 15-31.5kg to ParcelShop</li>
<li id="selH1E_chzn_o_14" class="active-result" style="">DHLForYou with signature, home address only</li>
<li id="selH1E_chzn_o_15" class="active-result" style="">DHLForYou Drop Off - Agecheck 18+</li>
<li id="selH1E_chzn_o_16" class="active-result" style="">DHLForYou - Agecheck 18+</li>
<li id="selH1E_chzn_o_17" class="active-result" style="">DHLForYou with evening delivery - Agecheck 18+</li>
<li id="selH1E_chzn_o_18" class="active-result result-selected" style="">PostNL Standard 0-23kg</li>
<li id="selH1E_chzn_o_19" class="active-result" style="">PostNL with signature 0-23kg</li>
<li id="selH1E_chzn_o_20" class="active-result" style="">PostNL abroad 0-23kg</li>
<li id="selH1E_chzn_o_21" class="active-result" style="">PostNL signature on delivery + home address only 0-23kg</li>
<li id="selH1E_chzn_o_22" class="active-result" style="">PostNL home address only 0-23kg</li>
<li id="selH1E_chzn_o_23" class="active-result" style="">PostNL service point 0-23kg</li>
<li id="selH1E_chzn_o_24" class="active-result" style="">PostNL Mailbox 0-2kg</li>
<li id="selH1E_chzn_o_25" class="active-result" style="">PostNL GlobalPack</li>
<li id="selH1E_chzn_o_26" class="active-result" style="">PostNL evening delivery + signature on delivery + home address only 0-23kg</li>
<li id="selH1E_chzn_o_27" class="active-result" style="">PostNL evening delivery + home address only 0-23kg</li>
<li id="selH1E_chzn_o_28" class="active-result" style="">PostNL Standard 23-31.5kg</li>
<li id="selH1E_chzn_o_29" class="active-result" style="">PostNL evening delivery + home address only 23-31.5kg</li>
<li id="selH1E_chzn_o_30" class="active-result" style="">PostNL evening delivery + signature on delivery + home address only 23-31.5kg</li>
<li id="selH1E_chzn_o_31" class="active-result" style="">PostNL service point 23-31.5kg</li>
<li id="selH1E_chzn_o_32" class="active-result" style="">PostNL home address only 23-31.5kg</li>
<li id="selH1E_chzn_o_33" class="active-result" style="">PostNL signature on delivery + home address only 23-31.5kg</li>
<li id="selH1E_chzn_o_34" class="active-result" style="">PostNL with signature 23-31.5kg</li>
<li id="selH1E_chzn_o_35" class="active-result" style="">PostNL abroad NMG</li>
<li id="selH1E_chzn_o_36" class="active-result" style="">PostNL Pakket Nederland België - Home Address Only</li>
<li id="selH1E_chzn_o_37" class="active-result" style="">PostNL Pakket Nederland België to Servicepoint</li>
<li id="selH1E_chzn_o_38" class="active-result" style="">PostNL Pakket Nederland België - Home Address Only 23-31.5kg</li>
<li id="selH1E_chzn_o_39" class="active-result" style="">PostNL Pakket Nederland België Signature + Insurance 0-23kg</li>
<li id="selH1E_chzn_o_40" class="active-result" style="">PostNL Pakket Nederland België Signature + Insurance 23-31.5kg</li>
<li id="selH1E_chzn_o_41" class="active-result" style="">DPD Home 0-31.5kg</li>
<li id="selH1E_chzn_o_42" class="active-result" style="">DPD Pickup Point</li>
<li id="selH1E_chzn_o_43" class="active-result" style="">DPD Home 0-31.5kg - incoterm DAP NP</li>
<li id="selH1E_chzn_o_44" class="active-result" style="">DPD Home 0-31.5kg + Agecheck 18</li>
<li id="selH1E_chzn_o_45" class="active-result" style="">DPD Classic 0-31.5kg + Agecheck 18</li>
<li id="selH1E_chzn_o_46" class="active-result" style="">Unstamped letter</li>
</ul>
</div>
</div>
<script>
function submitSendcloud(el)
{
var container = document.getElementById('sendcloud_form');
console.log(container);
var input = document.createElement('input');
input.type = 'hidden';
input.value = '1';
input.name = 'process_sendcloud';

container.appendChild(input); // put it into the DOM

document.adminFormSendCloud.submit();

return false;
}

</script>
<div id="sendcloud_form"><label for="request_shipping"><input type="checkbox" id="request_shipping" name="request_shipping" value="1">Request Shipping (tracking ID)</label><input type="button" value="Register Parcel" onclick="return submitSendcloud(this);"></div>
</fieldset>
<input type="hidden" name="task" value="edit">
<input type="hidden" name="option" value="com_virtuemart">
<input type="hidden" name="view" value="orders">
<input type="hidden" name="virtuemart_order_id" value="4984">
<input type="hidden" name="e93748657e8dd431cbb43333bc7d3193" value="1">
</td>
magic-sessions@.....nl
 
Posts: 6
Joined: Fri May 05, 2017 3:39 pm

Re: When using new admin template sendcloud is not working

Postby magic-sessions@.....nl » Mon Apr 10, 2023 9:52 am

Any updates on this?
magic-sessions@.....nl
 
Posts: 6
Joined: Fri May 05, 2017 3:39 pm

Re: When using new admin template sendcloud is not working

Postby magic-sessions@.....nl » Sun Jun 18, 2023 10:03 am

Why is there a forum when nobody every does something with it?
magic-sessions@.....nl
 
Posts: 6
Joined: Fri May 05, 2017 3:39 pm

Re: When using new admin template sendcloud is not working

Postby admin » Fri Jun 23, 2023 12:05 pm

hello,i haven't updated sendcloud for some time now - can you pls contact me at skype and email (support at rupostel.com) and I can have a look on this on your site directly - right now i don't have access to sendcloud api keys, so i wouldn't be able to fully test and thus it would be easier if i work at you.

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: When using new admin template sendcloud is not working

Postby magic-sessions@.....nl » Thu Jul 13, 2023 3:51 pm

I just sent you an e-mail
magic-sessions@.....nl
 
Posts: 6
Joined: Fri May 05, 2017 3:39 pm

Re: When using new admin template sendcloud is not working

Postby magic-sessions@.....nl » Fri Jul 14, 2023 7:38 pm

Fixed in the latest version
magic-sessions@.....nl
 
Posts: 6
Joined: Fri May 05, 2017 3:39 pm

Re: When using new admin template sendcloud is not working

Postby admin » Tue Oct 24, 2023 12:55 pm

hello, for sendcloud, pls let me know at email as i don't use this at my largest clients at the moment and we moved to using our "shipcats" system to generate customer's rates at FE and sendcloud is used via "sherpaan's webhook" to the site which generates the labels provided by sherpa (not VM backend).

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x