Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/lightbox1.js |
— | — | @@ -150,7 +150,6 @@ |
151 | 151 | ) |
152 | 152 | |
153 | 153 | /* Submit the form */ |
154 | | - /* TODO: Replace this with AJAX request */ |
155 | 154 | var sendData = { |
156 | 155 | 'action': 'donate', |
157 | 156 | 'gateway': 'payflowpro', |
— | — | @@ -160,10 +159,10 @@ |
161 | 160 | 'lname': $( "input[name='lname']" ).val(), |
162 | 161 | 'street': $( "input[name='street']" ).val(), |
163 | 162 | 'city': $( "input[name='city']" ).val(), |
164 | | - 'state': $( "input[name='state']" ).val(), |
| 163 | + 'state': $( 'select#state option:selected' ).val(), |
165 | 164 | 'zip': $( "input[name='zip']" ).val(), |
166 | 165 | 'emailAdd': $( "input[name='emailAdd']" ).val(), |
167 | | - 'country': $( "input[name='country']" ).val(), |
| 166 | + 'country': 'US', |
168 | 167 | 'payment_method': 'cc', |
169 | 168 | 'language': 'en', |
170 | 169 | |
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/lightbox1.js |
— | — | @@ -141,7 +141,6 @@ |
142 | 142 | $( "input[name='country']" ).val('US' ); |
143 | 143 | |
144 | 144 | /* Submit the form */ |
145 | | - /* TODO: Replace this with AJAX request */ |
146 | 145 | var sendData = { |
147 | 146 | 'action': 'donate', |
148 | 147 | 'gateway': 'globalcollect', |
— | — | @@ -151,10 +150,10 @@ |
152 | 151 | 'lname': $( "input[name='lname']" ).val(), |
153 | 152 | 'street': $( "input[name='street']" ).val(), |
154 | 153 | 'city': $( "input[name='city']" ).val(), |
155 | | - 'state': $( "input[name='state']" ).val(), |
| 154 | + 'state': $( 'select#state option:selected' ).val(), |
156 | 155 | 'zip': $( "input[name='zip']" ).val(), |
157 | 156 | 'emailAdd': $( "input[name='emailAdd']" ).val(), |
158 | | - 'country': $( "input[name='country']" ).val(), |
| 157 | + 'country': 'US', |
159 | 158 | 'payment_method': 'cc', |
160 | 159 | 'language': 'en', |
161 | 160 | 'card_type': 'visa', |