Index: trunk/extensions/DonationInterface/payflowpro_gateway/validate_input.js |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | output += "Country:" + countryField.options[countryField.selectedIndex].value + '.\r\n'; |
66 | 66 | |
67 | 67 | //set state to "outside us" |
68 | | - if ( document.payment.country.value != '840' ) { |
| 68 | + if ( document.payment.country.value != 'US' ) { |
69 | 69 | document.payment.state.value = 'XX'; |
70 | 70 | } |
71 | 71 | |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | |
96 | 96 | function disableStates( form ) { |
97 | 97 | |
98 | | - if ( document.payment.country.value != '840' ) { |
| 98 | + if ( document.payment.country.value != 'US' ) { |
99 | 99 | document.payment.state.value = 'XX'; |
100 | 100 | } else { |
101 | 101 | document.payment.state.value = 'YY'; |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -1002,14 +1002,14 @@ |
1003 | 1003 | 'city' => 'San Francisco', |
1004 | 1004 | 'state' => 'CA', |
1005 | 1005 | 'zip' => '94104', |
1006 | | - 'country' => 840, |
| 1006 | + 'country' => 'US', |
1007 | 1007 | 'fname2' => 'Testy', |
1008 | 1008 | 'lname2' => 'Testerson', |
1009 | 1009 | 'street2' => '123 Telegraph Ave.', |
1010 | 1010 | 'city2' => 'Berkeley', |
1011 | 1011 | 'state2' => 'CA', |
1012 | 1012 | 'zip2' => '94703', |
1013 | | - 'country2' => 840, |
| 1013 | + 'country2' => 'US', |
1014 | 1014 | 'size' => 'small', |
1015 | 1015 | 'premium_language' => 'es', |
1016 | 1016 | 'card_num' => $card_nums[ $cards[ $card_index ]][ $card_num_index ], |