Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Once again you have solved my problem - so once again many thanks!
  2. Hello again (you helped me out a couple of weeks back). I've tried clearing caches at both ends but it still doesn't seem to be working. Below is the before and after versions of the code (with the format of the "required" elements copied from one of the existing required fields). The placeholder language seems to be working fine - just not the "required" function. BEFORE <div class="row"> <div class="small-12 large-8 columns"><label for="acc_mobile" class="show-for-medium-up">{$LANG.address.mobile}</label><input type="text" name="mobile" id="acc_mobile" value="{$USER.mobile}" placeholder="{$LANG.address.mobile}"></div> AFTER <div class="row"> <div class="small-12 large-8 columns"><label for="acc_mobile" class="show-for-medium-up">{$LANG.address.mobile}</label><input type="text" name="mobile" id="acc_mobile" class="required" value="{$USER.mobile}" placeholder="{$LANG.address.mobile} {$LANG.form.required}" required></div> At the end of the file I have <div class="hide" id="validate_mobile">{$LANG.account.error_valid_mobile_phone}</div> (although I confess I have no understanding of how this works?!) and in the language definitions I have <string name="error_valid_mobile_phone" introduced="5.0.0"><![CDATA[Please enter a valid mobile phone number.]]></string> Somewhere the programme must be making the connection between the fact that if I submit the form with a required field empty it needs to look up the error message in language definitions via the "error_valid_....." definition at the end of the profile file - and I assume that somewhere I need to update something else so that it will do a similar look up for mobile phone - I just don't know enough about PHP to be able to work out where/how.
  3. Hi there, I want to make the mobile phone number a mandatory field for customers when setting up their profile (having re-badged it as emergency contact number - I’m using CubeCart as a booking system for sailing where everyone who books need to provide us with emergency contact details of someone ashore). I have added the “required” statement to the mobile input statement in templates.content.profile.php of the Standard foundation template (copied from the existing required input fields) - and mirrored the wording at the end of the file for validation checks as well as adding error wording in the languages definitions - but it’s not working. Clearly I’m missing something more fundamental - like some code somewhere that does the validation? Any help VERY gratefully received. Luke
  4. LukeS

    Worldpay test payments failing

    Thank you SO much. I made the change and hey presto - it is working. VERY much appreciated. Luke
  5. Newbie here trying to set up cubecart and testing with an established Worldpay installation (converting from another shopping cart) I'm getting the (apparently) not uncommon message (below) about incorrect installation ID or different submission protocol required. I've spoken to Worldpay who tell me it is a problem with the message they are receiving - and that the configuration they see at their end is all good. I've tried the obvious - reinstall the extension, retype the entries in the configuration screen but still no luck. Can anyone tell me where/how I can generate a print out of the message that is being sent? I'm afraid my PHP skills aren't up to it! Thanks Luke Secure Payment Page Sorry, there was a problem processing your payment: The information sent from the merchant's site is invalid or incomplete. Please send the following information to the merchant: The transaction cannot be processed for one or more of the following reasons: The installation ID field is blank or contains invalid characters. A different submission protocol is required. A more secure submission may be required. The installation number is invalid.