Jump to content

steveosc

Members
  • Content count

    21
  • Joined

  • Last visited

Profile Information

  1. steveosc

    AJAX Attribute Manager support

    There's a bug when adding new Options or Values. For instance, if I put in the value into the New Option input field, is what gets entered into the database.Looks like the values are not being url-encoded. To fix this, open /admin/attributeManager/javascript/attributeManager.js around line 240, inside: function getAllPromptTextValues() { find line: returnArray.push(allValues[i].id+':'+getElement(allValues[i].id).value); replace with: returnArray.push(allValues[i].id+':'+encodeURIComponent(getElement(allValues[i].id).value));
  2. steveosc

    New UPS XML Shipping Module available

    Wondering how to deal with this error: UPSXML Rates Error: 111286: AE is not a valid state abbreviation for United States. experienced by customer with id 61 on 2007-03-02 09:46:16 Apparently UPS doesn't ship to Armed Forces Europe, or do you think it's just a limitation of UPSXML? Thanks
  3. You can X out the middle digits of the credit card and store that in the database instead of the whole card number by doing this: In /includes/modules/payment/authorizenet_aim.php - inside the function before_process() { after line: $new_order_id = $new_order_id_result['Auto_increment']; insert lines: // Set cc field in database with middle 7 or 8 digits x'd out $cc_number = preg_replace('/[^0-9]/i', '', $order->info['cc_number']); $order->info['cc_number'] = substr($cc_number, 0, 4) . str_repeat('X', (strlen($cc_number) - 8)) . substr($cc_number, -4); find line: x_card_num => $_POST['cc_number'], replace with: x_card_num => $cc_number,
  4. For those who may want to use a different payment module down the road, the following should work in /checkout_process.php if ($payment == 'authorizenet_aim') { // AIM Processing require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; // load the before_process function from the payment modules $payment_modules->before_process(); } else { //Normal Processing // load the before_process function from the payment modules $payment_modules->before_process(); require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; }
  5. Jack, This is a great contribution. I installed Links Manager V 1.14 - June 22 2006 One small problem - in the /catalog/includes/functions/links.php file in the function: CheckURL($url) I submit a new link via /links_submit.php, and the page hangs for a while on this line: if (@file($url)) { it eventually returns 0 after a minute or so. It's obviously not able to connect to the url. In php.ini I have allow_url_fopen = On I'm pretty sure my firewall is not blocking it either. Any suggestions?
  6. steveosc

    Automatic Store Feeds Contribution

    My Fault. Disregard previous post. I meant to post this in the Links Manager Forum.
  7. steveosc

    Automatic Store Feeds Contribution

    Bruce, Great Contribution. Thank you for your effors in putting this together. I have a small problem and have narrowed it down to /includes/functions/links.php file in the function: CheckURL($url) When I submit a new link, the page hangs on this line: if (@file($url)) { and then returns 0 after a minute or so. Basically, it's not able to connect to the url. In php.ini I have allow_url_fopen = On Am I missing something?
  8. Figured out the main problem. Indeed the error I was getting: The merchant login ID or password is invalid or the account is inactive.... was quite correct. I was running a transaction up against their real server. I have an account set up through their test server at: https://test.authorize.net and my login information is for their test server. So, in /catalog/includes/modules/payment/authorizenet_aim.php I changed line: $url = 'https://secure.authorize.net/gateway/transact.dll'; // If this does not work then change 'secure' to 'certification' on this line to: $url = 'https://test.authorize.net/gateway/transact.dll'; // If this does not work then change 'secure' to 'certification' on this line so I could temporarily run a test transaction. I haven't seen the transaction show up in Authorize.net yet I did recall Vger saying something not so great about Authorize.net's test accounts. I imagine it will show up once I set up a real account with Authorize.net
  9. Good Point. On my public server I at least didn't get the same error (being redirected to login.php). Though I did get redirected to checkout_payment.php with this error: The merchant login ID or password is invalid or the account is inactive. - Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance. I'm checking through old posts and trying things that worked for others to fix this problem. Still haven't figured it out.
  10. Hugh Thanks for the suggestion. This is on my local computer; www.localtest doesn't work. localtest is the name of my computer. Just so you know my configuration isn't totally messed up, I have another payment module working on localtest: PayPal Direct Payment and Express Checkout.
  11. define('HTTP_SERVER', 'http://localtest'); define('HTTPS_SERVER', 'https://localtest'); define('HTTP_COOKIE_DOMAIN', 'localtest'); define('HTTPS_COOKIE_DOMAIN', 'localtest'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); The SSL Cert is issued to and issued by localtest
  12. Each time I've ran a test purchase on my site, I get to checkout_confirmation.php, click on "Confirm Order" and then I get redirected to login.php. Not only that, I notice it logs me out too. No errors...nothing. A few quick facts: - On my Authorize.net Test account -- the Current Version is 3.1 -- the Account is in TEST MODE - Admin Section -> Payment Modules -> Authorize.net AIM -> Transaction Mode: Live And I've tried "Test" as well.
  13. steveosc

    PayPal WPP Direct Payments & Express Checkout Support

    That was it. It works now. Thanks.
  14. steveosc

    PayPal WPP Direct Payments & Express Checkout Support

    It didn't output the xml tags; just the values. Here's what I had, I replaced some values with [] to describe the data. I'm guessing <PaymentAction> is the 4th value - Authorization. [my API Username] [my API Password] 2.0 Authorization EC-[an alphanumeric string] W59[an alphanumeric string] 2.00 Order placed on October 16, 2006, 2:39 pm by [customer first last] (ID: 12) 1 1 0 Phone: -- Email: [customer email address] [customer first last] [customer street address] [customer city state zip] US [product name]{1}16{3}14 ([product model])1
  15. steveosc

    PayPal WPP Direct Payments & Express Checkout Support

    dynamoeffects - Still haven't gotten "Payment Action: Authorization" to work after overwriting all the xml files in wpp_xml directory. I Tested 4 different scenarios; hope this helps us or someone else with the same problem. I used my PayPal Sandbox account for receiving payment and each time used Express Checkout w/ a separate verified paypal sandbox account to make the payment: 1. Payment Module Settings -> - Payment Action: Authorization - Express checkout: Confirmed Address: Yes After clicking "Confirm Order" returned error 10423 2. Payment Module Settings -> - Payment Action: Sale - Express checkout: Confirmed Address: Yes After clicking "Confirm Order" returned error 10417 3. Payment Module Settings -> - Payment Action: Sale - Express checkout: Confirmed Address: No After clicking "Confirm Order" I was able to checkout successfully 4. Payment Module Settings -> - Payment Action: Authorization - Express checkout: Confirmed Address: No After clicking "Confirm Order" returned error 10423 Express Checkout and Authorization...? If I figure it out, I'll post it.
×