motrakinc Posted October 22, 2009 Posted October 22, 2009 Hello Folks, i am have a problem with this contribution Paypal Express Checkout v2.24. The problem is it dosen't send the entry_zone_id to the db causing taxes problems and total problems. It will show in the Database entry_zone_id "0". If a customer register thru the normal procedure and use and other payment method, everything works perfect, only when using EC that this problem occurs. Any Help would be appreciated Quote
motrakinc Posted November 3, 2009 Author Posted November 3, 2009 Not sure if this will get a hint: I replace if (ACCOUNT_GENDER == 'true') $sql_data_array['entry_gender'] = $gender; if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company; if (ACCOUNT_SUBURB == 'true') $sql_data_array['entry_suburb'] = $suburb; if (ACCOUNT_STATE == 'true') { if ($zone_id > 0) { $sql_data_array['entry_zone_id'] = $zone_id; $sql_data_array['entry_state'] = ''; } else { $sql_data_array['entry_zone_id'] = '0'; $sql_data_array['entry_state'] = $state; } } with if (ACCOUNT_GENDER == 'true') $sql_data_array['entry_gender'] = $gender; if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company; if (ACCOUNT_SUBURB == 'true') $sql_data_array['entry_suburb'] = $suburb; if (ACCOUNT_STATE == 'true') { if ($zone_id > 0) { $sql_data_array['entry_zone_id'] = $zone_id; $sql_data_array['entry_state'] = ''; } else { $sql_data_array['entry_zone_id'] = '74'; $sql_data_array['entry_state'] = $state; } } This give me a entry_zone_id data in SQL instead of "0" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.