close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Start Date or Issue Number is required - Payment Unsuccessful

Thread began 4/14/2014 3:35 am by Nathon Jones Web Design | Last modified 4/17/2014 8:24 am by Nathon Jones Web Design | 6748 views | 24 replies

Nathon Jones Web Design

Changed the confirm.php page to have the following (I attach it also). Basically stripped out all of the validation:

<div class="lineGroup">
<div class="fullColumnGroup">
<label for="Card_Start_Month" class="sublabel" >Valid From (Maestro/Switch):<span class="requiredIndicator">&nbsp;*</span></label>
<select class="formMenufield_Medium" name="Card_Start_Month" id="Card_Start_Month" tabindex="105" title="Please select a valid start date">
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>

<select class="formMenufield_Small" name="Card_Start_Year" id="Card_Start_Year" tabindex="106" title="Please select a valid start date">
<option value="">Year</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
</select>
</div>
</div>
<div class="lineGroup">
<div class="fullColumnGroup">
<label for="Issue_No" class="sublabel" >Issue Number (if applicable):<span class="requiredIndicator">&nbsp;*</span></label>
<input id="Issue_No" name="Issue_No" type="text" class="formTextfield_Large" tabindex="107" title="If your card has one, please enter your issue number">
</div>
</div>

How do I make these two sections only display if "Maestro" is selected from the Card_Type drop down?
And how do I trigger any validation on those fields to only run if "Maestro" is selected?

When I submit the form now, I initially received an error about an invalid country code and when I checked, I had manually added "England, Scotland, Northern Ireland, Wales" as countries in their own right, with their titles as the country code. I changed them all to "GB", although I'd ideally like to allow the option to enter either England, Scotland, Northern Ireland and Wales, and it didn't produce that error any more however we now receive the following error:

array(8) { ["LEDCart_Items"]=> string(251) "585|WAECART|LWP0252|WAECART|40 Watt RGB LED Flood Light (includes remote)|WAECART|LWP0252.jpg|WAECART|0|WAECART|1|WAECART|105|WAECART||WAECART||WAECART|0|WAECART||WAECART|0|WAECART|139754767462|WAECART|0|WAECART|105|WAECART|1 LWP0252 (585)|WAECART|105" ["WAEC_ContinueRedirect"]=> string(30) "/LED-Lights-Bulbs.php?lbid=585" ["WASF_CheckoutWizard_Sharp_Default"]=> array(31) { ["plugin_from"]=> string(43) "https://www.ledwarehouseuk.com/checkout.php" ["plugin_file"]=> string(16) "confirm_cart.php" ["payment-type"]=> string(10) "creditcard" ["First_Name"]=> string(19) "Nathon Test 1504 06" ["Last_Name"]=> string(5) "Jones" ["Email_Address"]=> string(24) "admin@ledwarehouseuk.com" ["Phone_Number"]=> string(12) "01671 404924" ["Company_Name"]=> string(0) "" ["Address_1"]=> string(14) "1 Main Terrace" ["Address_2"]=> string(0) "" ["City"]=> string(13) "Wolverhampton" ["Country"]=> string(2) "GB" ["State_Hidden"]=> string(0) "" ["State"]=> string(13) "West Midlands" ["Postal_Code"]=> string(7) "W12 4LQ" ["Shipping_SameAs_Billing"]=> string(1) "1" ["First_Name_2"]=> string(19) "Nathon Test 1504 06" ["Last_Name_2"]=> string(5) "Jones" ["Email_Address_2"]=> string(24) "admin@ledwarehouseuk.com" ["Phone_Number_2"]=> string(12) "01671 404924" ["Company_Name_2"]=> string(0) "" ["Address_1_2"]=> string(14) "1 Main Terrace" ["Address_2_2"]=> string(0) "" ["Country_2"]=> string(2) "GB" ["State_2_Hidden"]=> string(0) "" ["State_2"]=> string(13) "West Midlands" ["City_2"]=> string(13) "Wolverhampton" ["Postal_Code_2"]=> string(7) "W12 4LQ" ["CheckoutWizard_submit"]=> string(0) "" ["_ga"]=> string(27) "GA1.2.1265700428.1396992615" ["PHPSESSID"]=> string(32) "61570fa65f3b938e8750ce1cc1546534" } ["WAVT_confirmcart_Errors"]=> string(0) "" ["WASF_WA_Payments"]=> array(12) { ["Card_Type"]=> string(7) "Maestro" ["Card_Number"]=> string(16) "6759106074534277" ["Card_Exp_Month"]=> string(1) "3" ["Card_Exp_Year"]=> string(4) "2019" ["Card_Start_Month"]=> string(1) "8" ["Card_Start_Year"]=> string(4) "2012" ["Issue_No"]=> string(1) "2" ["Card_CVV"]=> string(3) "546" ["Payment_submit"]=> string(0) "" ["_ga"]=> string(27) "GA1.2.1265700428.1396992615" ["PHPSESSID"]=> string(32) "61570fa65f3b938e8750ce1cc1546534" ["CardLast4"]=> string(4) "4277" } ["WAVT_confirm_Errors"]=> string(0) "" ["PP_DirectPayment_postedValues"]=> string(2362) "testled_api1.nathonjones.com1397034159AWqYshSunm8L6wf2fZRSi926up.GAdtvGHEXzLdfJYFQdRK2ug21CHOD60.0Sale108.003105WebAssist.eCartPHP.Pro.DPLWP02521051585Nathon Test 1504 061 Main TerraceWolverhamptonWest MidlandsW12 4LQGB01671 404924Maestro675910607453427732019verifiedNathon Test 1504 06Jonesadmin@ledwarehouseuk.comGB
1 Main TerraceWolverhamptonWest MidlandsGBGBW12 4LQ01671 404924
54682012281.156.217.18661570fa65f3b938e8750ce1cc1546534" ["PP_DirectPayment"]=> string(2254) "2014-04-15T07:44:38ZFailurebcae2a3c1646Transaction is not compliant due to missing or invalid 3D-secure authentication valuesTransaction is not compliant due to missing or invalid 3D-secure authentication values12000Error60.010433064108.00" }

Would appreciate your assistance. Thank you.
NJ

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...