Jump to content

zhmedia

Members
  • Posts

    19
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Ottawa, ON
  • Activity
    Developer

Recent Profile Visitors

4,040,872 profile views

zhmedia's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. I'm getting this problem too, my new module was declined without email notification or comment/explanation. EDIT: Update for anyone experiencing this. if you get a technical validation rejection without comment or email notification, it's likely an automatic rejection by the system and the reason is hidden (at the time of this writing). Try the following: Go to your "Products" page of your seller account and click the "Validation" button at the top of the page. On this page, there will be 2 buttons that are hidden for some reason, and you have to click them. The first button is on the right-hand side of your module's name called "Voir Plus" The second button is under the module's name called "Contacter l'équipe de validation" (you have to hover over it to see the text) Once you click on the second button, it should send you to a page with the rejection reason and a contact form to contact the Addons team. Here's a screenshot of the two hidden buttons (I had to dig through the HTML source to find them).
  2. Solved for anyone still looking for a solution: The form.tpl file must be extended from within the module. Take a look at the ps_banner module to see how it's done. Create the file /modules/{your_module}/views/templates/admin/_configure/helpers/form/form.tpl with the following: {extends file="helpers/form/form.tpl"} {block name="field"} {if $input.type == 'file_lang'} <div class="col-lg-9"> {foreach from=$languages item=language} {if $languages|count > 1} <div class="translatable-field lang-{$language.id_lang}" {if $language.id_lang != $defaultFormLanguage}style="display:none"{/if}> {/if} <div class="form-group"> <div class="col-lg-6"> <input id="{$input.name}_{$language.id_lang}" type="file" name="{$input.name}_{$language.id_lang}" class="hide" /> <div class="dummyfile input-group"> <span class="input-group-addon"><i class="icon-file"></i></span> <input id="{$input.name}_{$language.id_lang}-name" type="text" class="disabled" name="filename" readonly /> <span class="input-group-btn"> <button id="{$input.name}_{$language.id_lang}-selectbutton" type="button" name="submitAddAttachments" class="btn btn-default"> <i class="icon-folder-open"></i> Choose a file </button> </span> </div> </div> {if $languages|count > 1} <div class="col-lg-2"> <button type="button" class="btn btn-default dropdown-toggle" tabindex="-1" data-toggle="dropdown"> {$language.iso_code} <span class="caret"></span> </button> <ul class="dropdown-menu"> {foreach from=$languages item=lang} <li><a href="javascript:hideOtherLanguage({$lang.id_lang});" tabindex="-1">{$lang.name}</a></li> {/foreach} </ul> </div> {/if} </div> <div class="form-group"> {if isset($fields_value[$input.name][$language.id_lang]) && $fields_value[$input.name][$language.id_lang] != ''} <div id="{$input.name}-{$language.id_lang}-images-thumbnails" class="col-lg-12"> <img src="{$uri}img/{$fields_value[$input.name][$language.id_lang]}" class="img-thumbnail"/> </div> {/if} </div> {if $languages|count > 1} </div> {/if} <script> $(document).ready(function(){ $('#{$input.name}_{$language.id_lang}-selectbutton').click(function(e){ $('#{$input.name}_{$language.id_lang}').trigger('click'); }); $('#{$input.name}_{$language.id_lang}').change(function(e){ var val = $(this).val(); var file = val.split(/[\\/]/); $('#{$input.name}_{$language.id_lang}-name').val(file[file.length-1]); }); }); </script> {/foreach} {if isset($input.desc) && !empty($input.desc)} <p class="help-block"> {$input.desc} </p> {/if} </div> {else} {$smarty.block.parent} {/if} {/block} Then in your HelperForm: array( 'type' => 'file_lang', 'label' => $this->l('File'), 'name' => 'field_name', 'lang' => true, ), Take a look at the ps_banner postProcess() function to see how to handle the file upload.
  3. I was able to get it to work by using "hookActionOrderHistoryAddAfter" instead of "hookActionObjectOrderHistoryAddAfter" as per WilliamDam.dk's advice.
  4. Hey Ryan, what Canada Post module are you using? All my Canada Post modules achieve this: http://zackmedia.ca/downloads/
  5. In my carrier module, I'm currently changing the delivery delay dynamically based on an API response using the following method: https://www.prestashop.com/forums/topic/219629-changing-carrier-delay-from-within-shipping-module/ This method works well on one-page checkout, but does not work consistently on the 5-step checkout page. The issue I'm running into is that this line: $this->context->smarty->assign('delivery_option_list', $option_list); doesn't correctly override smarty values on the 5-step page. It just reverts back to the default transit/delay time. Does anyone have a better way of accomplishing this?
  6. The above issue has been fixed, it was caused by a space in the merchant's postal code (Canada Post doesn't allow spaces). The bugfix will be in the next version. Cheers
  7. I've just updated all 3 of my Canada Post modules to 1.6.x. They use the new Canada Post Webservices instead of the now deprecated Sell Online method. Canada Post Rates: Addons Store | My Website Canada Post Rates and Labels: Addons Store | My Website Canada Post Contract/Commercial Rates and Labels: Addons Store | My Website Cheers, Zack
  8. 1. You need to create an account with Moneris. You have to call them and they will examine your website and determine if it is secure enough, if it has the required credit card logos near the bottom and other criteria. New and small businesses usually have an easier time to sign up. 2. Approval usually happens directly after that phone call. 3. If you want to accept credit cards directly on your website, you need an SSL certificate. You can put this aside for now and use my free Moneris Hosted PayPage module found here: http://zackmedia.ca/downloads/prestashop-module-moneris-hosted-paypage/ (yes, Prestashop charges almost $300 for the same thing). 4. They do not list their transaction fees. This is likely because every merchant will have different fees based on their business evaluation (during the phone call). You can ask these questions to your customer service rep. I believe there is a minimum of $10 per month if you do not surpass that amount in transactions.
  9. Hey Stryka, You linked to my module so I feel I should answer that part of your question! 1. You are correct, it does not yet support Interac but that is a planned feature. 2. There are 3 Moneris modules on the addons store, and they each use a different service to process payments. The "Hosted PayPage" module redirects users to a secure checkout page on the Moneris server, and the user gets redirected back to your website once the checkout is complete. The "DirectPost" module lets users enter their credit card information on your web page, but it is considered a quick fix for developers with not a lot of implementation time. From the Moneris developer website: The Moneris Canada module uses the sturdier and more secure Moneris API Integration approach. It also lets your customers enter their info on your web page. It has real-time input validation and supports Verified By Visa and MasterCard SecureCode. Hopefully that should clear things up for you. If you have any questions, let me know!
  10. If anyone's still looking for a cheap Moneris eSelectPlus DirectPost module that works in 1.4 and 1.5, I've made one available here: http://zackhussain.c...ris-directpost/ and my full API integration here: http://zackhussain.ca/prestashop-module-moneris-eselect-plus-api-integration/ You can test it out here! http://zackhussain.ca/prestashop. Users will enter their info on your page, it doesn't use an off-site payment page, so you'll need an SSL certificate to use it. Feel free to email me any questions! You can reach me at [email protected]
×
×
  • Create New...